Skip to content

Commit

Permalink
chore: disable nix flake check for now
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Dec 10, 2023
1 parent a08f508 commit 423642a
Showing 1 changed file with 19 additions and 20 deletions.
39 changes: 19 additions & 20 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,34 @@
name: Check

on: [ push, pull_request, workflow_dispatch ]
on: [push, pull_request, workflow_dispatch]

jobs:

checks:
name: Check expressions on ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
arch: [ x86_64-linux, aarch64-darwin ]
os: [ubuntu-latest]
arch: [x86_64-linux, aarch64-darwin]
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- name: Check Nix flake inputs
uses: DeterminateSystems/flake-checker-action@v5
- uses: cachix/install-nix-action@v23
with:
install_url: https://nixos.org/nix/install
extra_nix_config: |
auto-optimise-store = true
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
experimental-features = nix-command flakes
system = ${{ matrix.arch }}
- uses: cachix/cachix-action@v12
with:
name: khanelinix
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: clear hostedtoolcache
run: rm -rf /opt/hostedtoolcache
- name: run flake check
run: nix flake check --system ${{ matrix.arch }}
# - uses: cachix/install-nix-action@v23
# with:
# install_url: https://nixos.org/nix/install
# extra_nix_config: |
# auto-optimise-store = true
# access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
# experimental-features = nix-command flakes
# system = ${{ matrix.arch }}
# - uses: cachix/cachix-action@v12
# with:
# name: khanelinix
# authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
# - name: clear hostedtoolcache
# run: rm -rf /opt/hostedtoolcache
# - name: run flake check
# run: nix flake check --system ${{ matrix.arch }}

0 comments on commit 423642a

Please sign in to comment.