diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 71a962d..1740eaa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,21 @@ env: OPAMJOBS: 2 jobs: + pre_job: + runs-on: ubuntu-20.04 + outputs: + should_skip: ${{ steps.skip_check.outputs.should_skip }} + steps: + - uses: fkirc/skip-duplicate-actions@v5 + id: skip_check + with: + cancel_others: 'true' + concurrent_skipping: 'same_content_newer' + do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]' + easycrypt: + needs: pre_job + if: needs.pre_job.outputs.should_skip != 'true' name: Compile & Cache EasyCrypt runs-on: ubuntu-20.04 container: