Closed sbp-bvanb closed 5 days ago
Use a matrix.
--- name: Golang "on": # required by gomod-go-version-updater to trigger this action once pr has # been reviewed pull_request_review: types: [submitted] push: permissions: contents: read packages: read env: SOME_GLOBAL_VAR: 42 jobs: mcvs-golang-action: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v4.2.1 - uses: schubergphilis/mcvs-golang-action@v0.8.5 with: code_coverage_expected: ${{ env.SOME_GLOBAL_VAR }} golang-unit-tests-exclusions: |- \(cmd\/mcvs-scanner\|cmd\/mcvs-scanner-cli\|deprecated\|docs\/swagger\|mocks\) golangci-lint-version: v1.61.0 token: ${{ secrets.GITHUB_TOKEN }} mcvs-golang-action2: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v4.2.1 - uses: schubergphilis/mcvs-golang-action@v0.8.5 with: code_coverage_expected: ${{ env.SOME_GLOBAL_VAR }} golang-unit-tests-exclusions: |- \(cmd\/mcvs-scanner\|cmd\/mcvs-scanner-cli\|deprecated\|docs\/swagger\|mocks\) golangci-lint-version: v1.61.0 token: ${{ secrets.GITHUB_TOKEN }}
Use a matrix.