Skip to content

chore: Run tests in parallel jobs #2565

chore: Run tests in parallel jobs

chore: Run tests in parallel jobs #2565

Workflow file for this run

name: govulncheck
on:
pull_request:
branches:
- master
push:
branches:
- master
tags:
- v*
schedule:
- cron: 2 2 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
govulncheck:
runs-on: ubuntu-22.04
permissions:
contents: read
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: go-version
id: go-version
run: |
echo go-version="$(awk '/GO_VERSION:/ { print $2 }' .github/workflows/main.yml | tr -d \')" >> "${GITHUB_OUTPUT}"
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a
with:
path: |
/home/runner/go/pkg/mod
/home/runner/.cache/go-build
key: govulncheck-${{ runner.os }}-${{ steps.go-version.outputs.go-version }}-${{ hashFiles('**/go.sum') }}
restore-keys: |
govulncheck-${{ runner.os }}-${{ steps.go-version.outputs.go-version }}-
- uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee
with:
cache: false
go-version-input: ${{ steps.go-version.outputs.go-version }}