Skip to content

allow custom JSON types #70

allow custom JSON types

allow custom JSON types #70

Workflow file for this run

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}}"