Skip to content

Commit

Permalink
ci: use self-hosted runner
Browse files Browse the repository at this point in the history
  • Loading branch information
TWal committed Oct 23, 2023
1 parent 207abfd commit 7f306ab
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@ on:
jobs:
nix:
name: Nix
runs-on: ubuntu-22.04
runs-on: [ self-hosted, nix ]
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@v4
with:
github-token: ${{ secrets.NIX_GITHUB_TOKEN }}
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: actions/checkout@v4
- name: Run `nix flake check`
run: nix flake check -L
run: nix --access-tokens "github.com=${{ secrets.NIX_GITHUB_TOKEN }}" flake check -L

0 comments on commit 7f306ab

Please sign in to comment.