File tree Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -17,20 +17,27 @@ jobs:
17
17
uses : actions/setup-go@v5
18
18
with :
19
19
go-version : ${{ matrix.go-version }}
20
+ - name : Test
21
+ run : make test
22
+
23
+ lint :
24
+ name : Linting
25
+ strategy :
26
+ matrix :
27
+ os : [ubuntu-latest, macos-latest]
28
+ go-version : ["1.20", "1.21", "1.22", "1.23"]
29
+ runs-on : ${{ matrix.os }}
30
+ steps :
31
+ - name : Install Go ${{ matrix.go-version }}
32
+ uses : actions/setup-go@v5
33
+ with :
34
+ go-version : 1.21
20
35
- name : Install project tools and dependencies
21
- if : ${{ matrix.go-version == '1.23' }}
22
36
run : make project-tools
23
37
- name : Lint
24
- if : ${{ matrix.go-version == '1.23' }}
25
38
run : |
26
39
make lint
27
40
scripts/check-sync-tidy.sh
28
41
- name : Lint scripts
29
- if : ${{ matrix.go-version == '1.23' }}
30
42
run : |
31
43
make lint-scripts
32
- - name : Test
33
- run : make test
34
- - name : Test scripts
35
- if : ${{ matrix.go-version >= '1.22' }}
36
- run : make test-scripts
Original file line number Diff line number Diff line change 1
1
go 1.21
2
2
3
- toolchain go1.23.6
4
-
5
3
use (
6
4
./core
7
5
./examples/authentication
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ module github.com/stackitcloud/stackit-sdk-go/scripts
2
2
3
3
go 1.21
4
4
5
- toolchain go1.23.6
6
-
7
5
require (
8
6
github.com/go-git/go-git/v5 v5.12.0
9
7
github.com/stackitcloud/stackit-sdk-go/core v0.15.1
You can’t perform that action at this time.
0 commit comments