diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index 0ec729f..bb90d10 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -15,14 +15,28 @@ on: branches: [ "main" ] permissions: + actions: write contents: read jobs: - build: + pre_job: + # continue-on-error: true # Uncomment once integration is finished + runs-on: ubuntu-latest + # Map a step output to a job output + outputs: + should_skip: ${{ steps.skip_check.outputs.should_skip }} + steps: + - id: skip_check + uses: fkirc/skip-duplicate-actions@v5 + with: + paths_ignore: '["**.md", "docs/**"]' + cancel_others: true + build: + needs: pre_job + if: needs.pre_job.outputs.should_skip != 'true' name: Build and test runs-on: ubuntu-latest - steps: - uses: actions/checkout@v4 - uses: DeterminateSystems/nix-installer-action@main