Merge pull request #78 from brrygrdn/brrygrdn/pin-composed-actions-versions-by-sha

Pin composed actions to their current releases' SHA
This commit is contained in:
Slawomir Jaranowski
2024-05-17 19:54:43 +02:00
committed by GitHub

View File

@ -94,7 +94,7 @@ runs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with: with:
fetch-depth: '${{ inputs.checkout-fetch-depth }}' fetch-depth: '${{ inputs.checkout-fetch-depth }}'
path: '${{ inputs.checkout-path }}' path: '${{ inputs.checkout-path }}'
@ -109,7 +109,7 @@ runs:
java-version: '${{ inputs.java-version }}' java-version: '${{ inputs.java-version }}'
distribution: '${{ inputs.java-distribution }}' distribution: '${{ inputs.java-distribution }}'
- uses: actions/cache@v4 - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
if: inputs.cache-enabled == 'true' if: inputs.cache-enabled == 'true'
with: with:
path: | path: |
@ -123,12 +123,12 @@ runs:
shell: bash shell: bash
id: current-maven id: current-maven
- uses: stCarolas/setup-maven@v5 - uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
if: inputs.maven-version != steps.current-maven.outputs.version if: inputs.maven-version != steps.current-maven.outputs.version
with: with:
maven-version: '${{ inputs.maven-version }}' maven-version: '${{ inputs.maven-version }}'
- uses: s4u/maven-settings-action@v3.0.0 - uses: s4u/maven-settings-action@7802f6aec16c9098b4798ad1f1d8ac75198194bd # v3.0.0
with: with:
servers: '${{ inputs.settings-servers}}' servers: '${{ inputs.settings-servers}}'
mirrors: '${{ inputs.settings-mirrors}}' mirrors: '${{ inputs.settings-mirrors}}'