Skip to content

Bump actions/download-artifact from 4.1.1 to 4.1.2 #1370

Bump actions/download-artifact from 4.1.1 to 4.1.2

Bump actions/download-artifact from 4.1.1 to 4.1.2 #1370

Workflow file for this run

name: Mutation
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
build:
runs-on: ubuntu-latest
env:
LANG: en_GB
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up JDK 8
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
with:
java-version: '8'
distribution: 'temurin'
cache: maven
- name: Set up Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: '14.15.1'
cache: 'npm'
cache-dependency-path: report/report-ng/package-lock.json
- name: Run mutation testing
run: mvn -B -Paggregate -Dnode=system test org.pitest:pitest-maven:mutationCoverage package
- name: Save aggregated mutation report
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
with:
name: mutation_report
path: aggregator/target/pit-reports
- name: Save project mutation reports
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
if: ${{ failure() }}
with:
name: project_mutation_reports
path: '**/target/pit-reports'
publish:
permissions:
contents: write # for stefanzweifel/git-auto-commit-action to push code in repo
needs: build
runs-on: ubuntu-latest
continue-on-error: true
concurrency: pages_branch
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
ref: pages
- name: Download
uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe # v4.1.2
with:
path: mutation/ingest
- name: Ingest
run: perl regen_index.pl $GITHUB_HEAD_REF >> $GITHUB_STEP_SUMMARY
- name: Commit
uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0
with:
branch: pages