diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index b142cd5..8a2acdf 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/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.36 + image: perldocker/perl-tester:5.42 steps: - uses: actions/checkout@v7 - name: Run Tests @@ -33,7 +37,7 @@ jobs: needs: build-job runs-on: ubuntu-latest container: - image: perldocker/perl-tester:5.36 + image: perldocker/perl-tester:5.42 steps: - uses: actions/checkout@v7 # codecov wants to be inside a Git repository - uses: actions/download-artifact@v8 @@ -48,6 +52,7 @@ jobs: needs: build-job runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] perl-version: @@ -66,6 +71,9 @@ jobs: - "5.32" - "5.34" - "5.36" + - "5.38" + - "5.40" + - "5.42" exclude: - os: windows-latest perl-version: "5.8" @@ -92,9 +100,9 @@ jobs: with: name: build_dir path: . - - name: install deps using cpm - uses: perl-actions/install-with-cpm@v2 + - 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