Merge pull request #1890 from fluxcd/release/v1.7.x #3063
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: tests | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - 'main' | |
| - 'release/**' | |
| push: | |
| branches: | |
| - 'main' | |
| - 'release/**' | |
| permissions: | |
| contents: read # for actions/checkout to fetch code | |
| jobs: | |
| test-linux-amd64: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Setup Go | |
| uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 | |
| with: | |
| go-version: 1.25.x | |
| cache-dependency-path: | | |
| **/go.sum | |
| **/go.mod | |
| - name: Run tests | |
| env: | |
| SKIP_COSIGN_VERIFICATION: true | |
| TEST_AZURE_ACCOUNT_NAME: ${{ secrets.TEST_AZURE_ACCOUNT_NAME }} | |
| TEST_AZURE_ACCOUNT_KEY: ${{ secrets.TEST_AZURE_ACCOUNT_KEY }} | |
| run: make test | |
| test-linux-arm64: | |
| runs-on: | |
| group: "ARM64" | |
| if: github.actor != 'dependabot[bot]' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Setup Go | |
| uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 | |
| with: | |
| go-version: 1.25.x | |
| cache-dependency-path: | | |
| **/go.sum | |
| **/go.mod | |
| - name: Run tests | |
| env: | |
| SKIP_COSIGN_VERIFICATION: true | |
| TEST_AZURE_ACCOUNT_NAME: ${{ secrets.TEST_AZURE_ACCOUNT_NAME }} | |
| TEST_AZURE_ACCOUNT_KEY: ${{ secrets.TEST_AZURE_ACCOUNT_KEY }} | |
| run: make test |