Merge pull request #76 from tmayoff/update_flake_lock_action #212
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: build | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
env: | |
SCCACHE_GHA_ENABLED: "true" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Nix | |
- uses: DeterminateSystems/nix-installer-action@v16 | |
- uses: DeterminateSystems/flake-checker-action@v9 | |
- uses: DeterminateSystems/magic-nix-cache-action@v8 | |
# Build | |
- name: Setup sccache | |
uses: mozilla-actions/[email protected] | |
- name: configure | |
run: nix develop --command just configure | |
- name: build | |
run: nix develop --command just build | |
- name: test | |
run: nix develop --command just test |