Skip to content

Commit bc63f34

Browse files
committed
update workflows
Signed-off-by: Markus Blaschke <[email protected]>
1 parent d9ea168 commit bc63f34

3 files changed

Lines changed: 15 additions & 3 deletions

File tree

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
/test
2-
/vendor
32
/azure-scheduledevents-exporter
43
/release-assets

.github/workflows/build-docker.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,14 @@ jobs:
1818
with:
1919
swap-size-gb: 12
2020

21+
- uses: actions/setup-go@v5
22+
with:
23+
go-version-file: 'go.mod'
24+
cache-dependency-path: "go.sum"
25+
check-latest: true
26+
2127
- name: Run Golangci lint
22-
uses: golangci/golangci-lint-action@v3
28+
uses: golangci/golangci-lint-action@v4
2329
with:
2430
version: latest
2531
args: --print-resources-usage
@@ -60,6 +66,12 @@ jobs:
6066
with:
6167
swap-size-gb: 12
6268

69+
- uses: actions/setup-go@v5
70+
with:
71+
go-version-file: 'go.mod'
72+
cache-dependency-path: "go.sum"
73+
check-latest: true
74+
6375
- name: Docker meta
6476
id: docker_meta
6577
uses: docker/metadata-action@v5

.github/workflows/release-assets.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717

1818
- uses: actions/setup-go@v5
1919
with:
20-
go-version: '1.21'
20+
go-version-file: 'go.mod'
21+
cache-dependency-path: "go.sum"
2122
check-latest: true
2223

2324
- name: Build

0 commit comments

Comments
 (0)