nixos-option: Fix when using flake based setup #43
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
tests: | |
name: Run tests | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
steps: | |
- name: Set up git repository | |
uses: actions/checkout@v2 | |
- name: Install zsh | |
if: runner.os == 'Linux' | |
run: sudo apt-get update; sudo apt-get install zsh | |
- name: Check syntax | |
run: | | |
for file in _* *.zsh; do | |
zsh -n "$file" || return 1 | |
done |