Skip to content

Update GitHub Actions #3

Update GitHub Actions

Update GitHub Actions #3

Workflow file for this run

name: CI
on:
- push
jobs:
test:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Install Nix
uses: cachix/install-nix-action@c134e4c9e34bac6cab09cf239815f9339aaaf84e
- name: Cache Nix
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684
with:
key: ${{ runner.os }}-nix-${{ hashfiles('flake.lock', 'flake.nix') }}
path: ~/nix
restore-keys: |
${{ runner.os }}-nix-${{ hashfiles('flake.lock', 'flake.nix') }}
${{ runner.os }}-nix-
- name: Test
run: nix --store ~/nix develop . --command make test
- name: Setup upterm session
uses: lhotari/action-upterm@v1
with:
## limits ssh access and adds the ssh public keys of the listed GitHub users
limit-access-to-users: joneshf
wait-timeout-minutes: 10