diff --git a/.github/dependabot.yml b/.github/dependabot.yml index fc423d26..c4b1a798 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,3 +5,17 @@ updates: schedule: # Check for updates to GitHub Actions every week interval: "weekly" + groups: + major-updates: + patterns: + - "*" + update-types: + - "major" + minor-and-patch: + patterns: + - "*" + update-types: + - "minor" + - "patch" + cooldown: + default-days: 7 diff --git a/.github/workflows/dzil-build-and-test.yml b/.github/workflows/dzil-build-and-test.yml index 32b13847..16e9a15c 100644 --- a/.github/workflows/dzil-build-and-test.yml +++ b/.github/workflows/dzil-build-and-test.yml @@ -10,12 +10,16 @@ on: - "*" workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build-job: name: Build distribution runs-on: ubuntu-latest container: - image: perldocker/perl-tester:5.38 + image: perldocker/perl-tester:5.42 steps: - uses: actions/checkout@v6 - name: Run Tests @@ -33,7 +37,7 @@ jobs: needs: build-job runs-on: ubuntu-latest container: - image: perldocker/perl-tester:5.38 + image: perldocker/perl-tester:5.42 steps: - uses: actions/checkout@v6 # codecov wants to be inside a Git repository - uses: actions/download-artifact@v7 @@ -105,9 +109,9 @@ jobs: with: name: build_dir path: . - - name: install deps using cpm - uses: perl-actions/install-with-cpm@v1 + - uses: perl-actions/setup-cpm@v1 with: - cpanfile: "cpanfile" - args: "--with-suggests --with-recommends --with-test" + version: compat + - name: install deps using cpm + run: cpm install -g --cpanfile cpanfile --with-suggests --with-recommends --with-test - run: prove -lr t