Skip to content

Commit

Permalink
Merge pull request #255 from leanix/bugfix/go-version-for-release-action
Browse files Browse the repository at this point in the history
Bumped golang version from 1.17 to 1.18 to enable go modules for rele…
  • Loading branch information
DennisBerthold-leanix authored Feb 24, 2023
2 parents efe0a61 + f2341dd commit ef360c5
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- uses: actions/setup-go@v2
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: '1.17'
go-version: 1.18.3

- name: Setup project
run: make clean
run: make clean gen

- name: Tests - Unit
run: make test
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/snyk-scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Snyk vulnerability scan
on:
workflow_dispatch:
schedule:
- cron: '0 1 * * *'
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Get credentials
uses: leanix/secrets-action@master
with:
secret-store-credentials: ${{ secrets.INJECTED_SECRET_STORE_CREDENTIALS }}

- uses: actions/setup-go@master
with:
go-version: 1.18.3

- name: Setup project
run: make clean gen

- name: Show current used versions
run: go list -m all

- uses: snyk/actions/golang@master
with:
command: monitor -d --project-tags=Team=Helios,Tribe=VSM --project-name=leanix/leanix-k8s-connector

0 comments on commit ef360c5

Please sign in to comment.