Use Lean v4.4.0 #27
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Nix flakes CI" | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
env: | |
NIX_BUILD_ARGS: -v --print-build-logs --fallback --show-trace | |
steps: | |
- uses: actions/checkout@v2.4.0 | |
- uses: cachix/install-nix-action@v16 | |
with: | |
install_url: https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install | |
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve' | |
extra_nix_config: | | |
experimental-features = nix-command flakes ca-references | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
- uses: cachix/cachix-action@v10 | |
with: | |
name: yatima | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- name: Nix build | |
run: nix build $NIX_BUILD_ARGS | |
- name: Nix shell | |
run: nix shell $NIX_BUILD_ARGS --command echo OK |