summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorGuillaume Boisseau2024-06-18 13:49:43 +0200
committerGitHub2024-06-18 13:49:43 +0200
commit370f2668f0a36fb31ed9abb4ba613dad333cf406 (patch)
treed1a6549cdd2f8e20366b8a5feaa1550fc10fe783 /.github/workflows
parent43a9fb0fa5a1c03a7cce575a052f0d4201189d1d (diff)
parent926eb538cc35cf9a818a6905ff4ce58eeb3db9c4 (diff)
Merge pull request #251 from Nadrieril/bump-charon2
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml16
1 files changed, 4 insertions, 12 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e66e5753..17ed0f26 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -18,11 +18,8 @@ permissions:
jobs:
# Avoid `push` and `pull_request` running the same job twice
check_if_skip_duplicate_job:
- # runs-on: [self-hosted, linux, nix]
- runs-on: ubuntu-latest
+ runs-on: [self-hosted, linux, nix]
steps:
- - uses: DeterminateSystems/nix-installer-action@main
- - uses: DeterminateSystems/magic-nix-cache-action@main
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
@@ -33,13 +30,11 @@ jobs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
nix:
- # runs-on: [self-hosted, linux, nix]
- runs-on: ubuntu-latest
+ #runs-on: ubuntu-latest
+ runs-on: [self-hosted, linux, nix]
needs: check_if_skip_duplicate_job
if: needs.check_if_skip_duplicate_job.outputs.should_skip != 'true'
steps:
- - uses: DeterminateSystems/nix-installer-action@main
- - uses: DeterminateSystems/magic-nix-cache-action@main
- uses: actions/checkout@v4
- run: nix build -L .#checks.x86_64-linux.aeneas-check-tidiness
- run: nix build -L .#checks.x86_64-linux.check-charon-pin
@@ -61,11 +56,8 @@ jobs:
- run: nix develop --command bash -c "cd tests/lean && make"
check-charon-pin:
- # runs-on: [self-hosted, linux, nix]
- runs-on: ubuntu-latest
+ runs-on: [self-hosted, linux, nix]
steps:
- - uses: DeterminateSystems/nix-installer-action@main
- - uses: DeterminateSystems/magic-nix-cache-action@main
- uses: actions/checkout@v4
with:
fetch-depth: 0 # deep clone in order to get access to other commits