1+ # SPDX-FileCopyrightText: 2025-2026 Contributors to the MeteoForge project
2+ # SPDX-License-Identifier: MPL-2.0
3+
14name : " PR Quality Gate: rc & main"
25
36on :
@@ -19,13 +22,13 @@ jobs:
1922 if : ${{ !github.event.pull_request.draft }}
2023 runs-on : ubuntu-latest
2124 steps :
22- - uses : actions/checkout@v4
25+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
2326 # NOTE: point "uses:" to the DIRECTORY that contains action.yaml
2427 # If your composite is at ./pre-commit/action.yaml, use "./pre-commit"
2528 - name : Run pre-commit composite
2629 uses : ./.github/workflows/pre-commit
2730 with :
28- python-version : ${{ env .MAIN_PYTHON_VERSION }}
31+ python-version : ${{ vars .MAIN_PYTHON_VERSION }}
2932
3033 pytest :
3134 permissions :
3639 runs-on : ubuntu-latest
3740 strategy :
3841 matrix :
39- python-version : ${{ fromJSON(env .SUPPORTED_PYTHON_VERSIONS) }}
42+ python-version : ${{ fromJSON(vars .SUPPORTED_PYTHON_VERSIONS) }}
4043 steps :
41- - uses : actions/checkout@v4
44+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
4245 - name : Run pytest composite
4346 uses : ./.github/workflows/pytest
4447 with :
5457 continue-on-error : true
5558 strategy :
5659 matrix :
57- python-version : ${{ fromJSON(env .SUPPORTED_PYTHON_VERSIONS) }}
60+ python-version : ${{ fromJSON(vars .SUPPORTED_PYTHON_VERSIONS) }}
5861 steps :
59- - uses : actions/checkout@v4
62+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
6063 - name : Run pytest composite
6164 uses : ./.github/workflows/pytest
6265 with :
7174 runs-on : ubuntu-latest
7275 needs : [ pytest ] # starts only after pytest completes
7376 steps :
74- - uses : actions/checkout@v4
77+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
7578 - name : Run SonarCloud composite
7679 uses : ./.github/workflows/sonar
7780 with :
0 commit comments