Skip to content

Commit

Permalink
Merge pull request #102 from kyma-project/run_vuln_check_action
Browse files Browse the repository at this point in the history
configures golang/govulncheck-action
  • Loading branch information
kyma-bot authored Dec 18, 2023
2 parents 09a56f0 + 61cf3b3 commit 8fdee32
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/run-vuln-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Run vuln check
on:
push:
branches: [ "main" ]
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: vulncheck
uses: golang/govulncheck-action@v1
with:
go-version-input: 1.21.5
go-package: ./...
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.20 as builder
FROM golang:1.21.5 as builder
ARG TARGETOS
ARG TARGETARCH

Expand Down

0 comments on commit 8fdee32

Please sign in to comment.