Add test for issue #107 fixed by #108 #64
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: "Build nix derivations" | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
build: | |
name: ${{ matrix.attribute }} / ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
attribute: | |
- .#devShells.x86_64-linux.default | |
- .#packages.x86_64-linux.default | |
- .#checks.x86_64-linux.pre-commit | |
- .#checks.x86_64-linux.testGolden | |
- .#checks.x86_64-linux.testGoldenGenerate | |
- .#checks.x86_64-linux.testSystem1 | |
- .#checks.x86_64-linux.testSystem2 | |
- .#checks.x86_64-linux.testSystem3 | |
- .#checks.x86_64-linux.testExample | |
steps: | |
- uses: actions/[email protected] | |
- uses: cachix/install-nix-action@v20 | |
with: | |
extra_nix_config: | | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
system-features = nixos-test benchmark big-parallel kvm | |
- name: free disk space | |
run: | | |
if [[ "${{matrix.os}}" == "ubuntu-latest" ]] | |
then | |
sudo rm -rf /opt | |
fi | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: openapi3-code-generator | |
extraPullNames: validity,safe-coloured-text,sydtest,autodocodec | |
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' | |
- run: nix build -L "${{matrix.attribute}}" |