deno2.nix/.github/workflows/ci.yml
dependabot[bot] c597368671
Bump cachix/cachix-action from 10 to 11 (#14)
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 10 to 11.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v10...v11)

---
updated-dependencies:
- dependency-name: cachix/cachix-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:53:26 +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@v17
- 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@v17
- uses: cachix/cachix-action@v11
with:
name: sno2wman
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- run: nix-shell --run "treefmt --fail-on-change"