deno2.nix/.github/workflows/ci.yml
dependabot[bot] 19f6e4d11c
Bump cachix/install-nix-action from 17 to 18 (#15)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 17 to 18.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v17...v18)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 14:59:11 +09:00

30 lines
679 B
YAML

name: CI
on:
push:
jobs:
flake-check:
name: nix-check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
- uses: cachix/cachix-action@v11
with:
name: sno2wman
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- run: nix flake check
treefmt:
name: treefmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
- uses: cachix/cachix-action@v11
with:
name: sno2wman
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- run: nix-shell --run "treefmt --fail-on-change"