add year to track template #474
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: build | |
on: push | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
env: | |
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v20 | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: rose | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
- name: Build Nix | |
run: nix build -j8 .#devShells.x86_64-linux.default | |
- name: Typecheck | |
if: success() || failure() # Means that we run all steps even if one fails. | |
run: nix develop --command make typecheck | |
- name: Test | |
if: success() || failure() | |
run: nix develop --command make test | |
- name: Lint | |
if: success() || failure() | |
run: nix develop --command make lintcheck | |
- name: Build | |
if: success() || failure() | |
run: nix build . |