Skip to content

Commit

Permalink
ci: add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
marijanp committed May 24, 2024
1 parent e7cf0a6 commit 7958a84
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: check
on:
pull_request:
branches: [main]
push:
branches: [main]

jobs:
check:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-14 ]
permissions:
id-token: "write"
contents: "read"
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v11
- uses: DeterminateSystems/magic-nix-cache-action@v6

- name: System Info
run: |
uname -a
nix --version
- name: flake check
run: nix flake check --show-trace

0 comments on commit 7958a84

Please sign in to comment.