Skip to content

Commit

Permalink
configures golang/govulncheck-action (#73)
Browse files Browse the repository at this point in the history
configures golang/govulncheck-action in this repository
  • Loading branch information
kyma-bot authored Dec 18, 2023
2 parents 9911c06 + 5087e94 commit 5935d48
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version: '1.21.5'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down Expand Up @@ -49,4 +49,4 @@ jobs:
# skip-build-cache: true

# Optional: The mode to install golangci-lint. It can be 'binary' or 'goinstall'.
# install-mode: "goinstall"
# install-mode: "goinstall"
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 europe-docker.pkg.dev/kyma-project/prod/external/golang:1.21.4-alpine3.18 as builder
FROM golang:1.21.5 as builder
ARG TARGETOS
ARG TARGETARCH

Expand Down

0 comments on commit 5935d48

Please sign in to comment.