File tree Expand file tree Collapse file tree 3 files changed +17
-12
lines changed Expand file tree Collapse file tree 3 files changed +17
-12
lines changed Original file line number Diff line number Diff line change @@ -17,20 +17,29 @@ jobs:
1717 uses : actions/setup-go@v5
1818 with :
1919 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 : Checkout
32+ uses : actions/checkout@v4
33+ - name : Install Go ${{ matrix.go-version }}
34+ uses : actions/setup-go@v5
35+ with :
36+ go-version : 1.21
2037 - name : Install project tools and dependencies
21- if : ${{ matrix.go-version == '1.23' }}
2238 run : make project-tools
2339 - name : Lint
24- if : ${{ matrix.go-version == '1.23' }}
2540 run : |
2641 make lint
2742 scripts/check-sync-tidy.sh
2843 - name : Lint scripts
29- if : ${{ matrix.go-version == '1.23' }}
3044 run : |
3145 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 11go 1.21
22
3- toolchain go1.23.6
4-
53use (
64 ./core
75 ./examples/authentication
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ module github.com/stackitcloud/stackit-sdk-go/scripts
22
33go 1.21
44
5- toolchain go1.23.6
6-
75require (
86 github.com/go-git/go-git/v5 v5.12.0
97 github.com/stackitcloud/stackit-sdk-go/core v0.15.1
You can’t perform that action at this time.
0 commit comments