Skip to content

Try to fix CI

Try to fix CI #16

name: "compile-check-blink"
on:
pull_request:
paths-ignore:
- 'README.md'
push:
paths-ignore:
- 'README.md'
jobs:
nix-flake-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v29
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: DeterminateSystems/magic-nix-cache-action@v8
- run: |
# Work around https://github.com/containers/bubblewrap/issues/632
sudo add-apt-repository ppa:apparmor-dev/apparmor-sru
sudo apt update
sudo apt install apparmor
# Actual test
nix develop --command make -C blink compile
nix fmt
git diff --exit-code