Merge pull request #5 from DLR-FT/dev/update_a653rs #21
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: Nix Related Actions | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
checks: | |
name: Nix Checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@v4 | |
- name: Run the Magic Nix Cache | |
uses: DeterminateSystems/magic-nix-cache-action@v1 | |
- name: Run Checks | |
run: nix flake check | |
verify: | |
name: Verifications | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
command: | |
- verify-no_std | |
- verify-doc | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@v4 | |
- name: Run the Magic Nix Cache | |
uses: DeterminateSystems/magic-nix-cache-action@v1 | |
- name: Run verify commands | |
run: nix develop --command ${{ matrix.command }} |