Make a single call to run_pending_tasks
to evict as many entries as possible from the cache
#473
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: Kani CI | |
on: | |
pull_request: | |
paths-ignore: | |
- '.devcontainer/**' | |
- '.gitpod.yml' | |
- '.vscode/**' | |
- CHANGELOG.md | |
- README.md | |
push: | |
paths-ignore: | |
- '.devcontainer/**' | |
- '.gitpod.yml' | |
- '.vscode/**' | |
- CHANGELOG.md | |
- README.md | |
jobs: | |
pre_job: | |
runs-on: ubuntu-latest | |
outputs: | |
should_skip: ${{ steps.skip_check.outputs.should_skip }} | |
steps: | |
- id: skip_check | |
# https://github.com/marketplace/actions/skip-duplicate-actions | |
uses: fkirc/skip-duplicate-actions@v5 | |
with: | |
concurrent_skipping: 'same_content' | |
do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]' | |
run-kani: | |
needs: pre_job | |
if: needs.pre_job.outputs.should_skip != 'true' | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout Moka | |
uses: actions/checkout@v4 | |
- name: Show CPU into | |
run: | | |
nproc | |
lscpu | |
free -m | |
- name: Run Kani | |
uses: model-checking/[email protected] | |
with: | |
args: --features 'sync, future' |