-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (43 loc) · 1.2 KB
/
govulncheck.yaml
File metadata and controls
52 lines (43 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Govulncheck
on:
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
permissions: {}
jobs:
sdk-versions:
runs-on: ubuntu-latest
outputs:
senzingsdk-versions: ${{ steps.cfg.outputs.senzingsdk-versions }}
steps:
- id: cfg
uses: senzing-factory/build-resources/sdk-versions@v4
govulncheck:
needs: sdk-versions
permissions:
contents: read
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go: ["1.26"]
senzingsdk-version: ${{ fromJSON(needs.sdk-versions.outputs.senzingsdk-versions) }}
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Setup go
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go }}
- name: Install Senzing SDK
uses: senzing-factory/github-action-install-senzing-sdk@v4
with:
senzingsdk-version: ${{ matrix.senzingsdk-version }}
- uses: golang/govulncheck-action@v1
with:
go-version-input: ${{ matrix.go }}