name: build on: push env: DEV_SHELL_NAME: CI CI: true jobs: build-cargo: runs-on: flakes-action steps: - uses: actions/checkout@v3 name: Checkout - uses: DeterminateSystems/magic-nix-cache-action@main - name: Run tests run: | nix develop -c cargo nextest run --run-ignored all - name: Build release run: | nix develop -c cargo build --release build-nix: runs-on: flakes-action steps: - uses: actions/checkout@v3 name: Checkout - uses: DeterminateSystems/magic-nix-cache-action@main - name: run: | nix build check-nix: runs-on: flakes-action steps: - uses: actions/checkout@v3 name: Checkout - name: Metadata run: | nix flake metadata - uses: DeterminateSystems/magic-nix-cache-action@main - name: Statix run: | nix develop -c statix check - name: Flake check run: | nix flake check