Skip to content

Commit 8a9e3b5

Browse files
committed
fixing workflow
Signed-off-by: Ashraf Fouda <ashraf.m.fouda@gmail.com>
1 parent 8af6e7e commit 8a9e3b5

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

.github/workflows/zos-update-worker-main.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Zos Update Worker
22

33
defaults:
44
run:
5-
working-directory: tools/zos-update-worker
5+
working-directory: tools/zos-update-worker
66

7-
on:
7+
on:
88
push:
99
paths:
1010
- tools/zos-update-worker/**
@@ -21,20 +21,24 @@ jobs:
2121

2222
- name: Install GO
2323
uses: actions/setup-go@v3
24-
with:
25-
go-version: 1.23
24+
with:
25+
go-version: 1.24
2626

2727
- name: golangci-lint
2828
uses: golangci/golangci-lint-action@v3
2929
with:
3030
args: --timeout 3m --verbose
31-
working-directory: tools/zos-update-worker
31+
working-directory: tools/zos-update-worker
32+
33+
- uses: WillAbides/setup-go-faster@v1.14.0
34+
with:
35+
go-version: 1.24
3236

3337
- name: staticcheck
34-
uses: dominikh/staticcheck-action@v1.3.0
38+
uses: dominikh/staticcheck-action@v1.3.1
3539
with:
36-
version: "2022.1.3"
37-
working-directory: tools/zos-update-worker
40+
version: "latest"
41+
working-directory: tools/zos-update-worker
3842
env:
3943
GO111MODULE: on
4044

@@ -43,8 +47,6 @@ jobs:
4347
with:
4448
gofmt-flags: "-l -d"
4549
gofmt-path: "tools/zos-update-worker"
46-
50+
4751
- name: Test
4852
run: go test -v ./...
49-
50-

0 commit comments

Comments
 (0)