1818 - release-*
1919env :
2020 PRE_RELEASE : ${{ github.ref == 'refs/heads/main' && 'development' || '' }}
21- GO_VERSION : " 1.23 "
22- GO_RELEASER_VERSION : " v2.3 .2"
23- GO_LANGCI_LINT_VERSION : " v1.61 .0"
24- GO_TESTSUM_VERSION : " 1.11.0 "
21+ GO_VERSION : " 1.25 "
22+ GO_RELEASER_VERSION : " v2.8 .2"
23+ GO_LANGCI_LINT_VERSION : " v2.4 .0"
24+ GO_TESTSUM_VERSION : " 1.12.3 "
2525
2626jobs :
2727 test :
2828 runs-on : ubuntu-latest
2929 steps :
3030 -
31- uses : actions/checkout@v4
31+ uses : actions/checkout@v5
3232 -
3333 name : Setup Go
3434 uses : actions/setup-go@v5
3535 with :
3636 go-version : ${{ env.GO_VERSION }}
3737 -
3838 name : Build
39- uses : goreleaser/goreleaser-action@v5
39+ uses : goreleaser/goreleaser-action@v6
4040 env :
4141 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4242 with :
4545 args : build --clean --snapshot --single-target
4646 -
4747 name : Lint
48- uses : golangci/golangci-lint-action@v4
48+ uses : golangci/golangci-lint-action@v8
4949 with :
5050 version : ${{ env.GO_LANGCI_LINT_VERSION }}
5151 args : --timeout=30m
5858 name : Test
5959 run : |
6060 gotestsum --format short-verbose -- -count=1 -parallel=1 -v -timeout=240s -coverprofile=cover.out -coverpkg=./... ./...
61+ gotestsum --format short-verbose -- -count=1 -parallel=1 -v -timeout=240s -coverprofile=cover.out -coverpkg=./oci/... ./oci/...
62+ gotestsum --format short-verbose -- -count=1 -parallel=1 -v -timeout=240s -coverprofile=cover.out -coverpkg=./parser/... ./parser/...
6163 -
6264 name : Upload code coverage
6365 uses : shogo82148/actions-goveralls@v1
7375 if : github.event_name == 'push' && ( github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') )
7476 steps :
7577 -
76- uses : actions/checkout@v4
78+ uses : actions/checkout@v5
7779 with :
7880 fetch-depth : 0
7981 -
@@ -100,7 +102,7 @@ jobs:
100102 eval `ssh-agent`
101103 -
102104 name : Push image to GitHub Container Registry
103- uses : goreleaser/goreleaser-action@v5
105+ uses : goreleaser/goreleaser-action@v6
104106 env :
105107 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
106108 with :
@@ -115,7 +117,7 @@ jobs:
115117 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
116118 steps :
117119 -
118- uses : actions/checkout@v4
120+ uses : actions/checkout@v5
119121 with :
120122 fetch-depth : 0
121123 -
@@ -143,7 +145,7 @@ jobs:
143145 -
144146 name : Pre-release
145147 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-rc')
146- uses : goreleaser/goreleaser-action@v5
148+ uses : goreleaser/goreleaser-action@v6
147149 env :
148150 GITHUB_TOKEN : ${{ secrets.GH_ROOT_TOKEN }}
149151 ASERTO_TAP : ${{ secrets.GH_ASERTO_TAP_TOKEN }}
@@ -154,7 +156,7 @@ jobs:
154156 -
155157 name : Release
156158 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-rc')
157- uses : goreleaser/goreleaser-action@v5
159+ uses : goreleaser/goreleaser-action@v6
158160 env :
159161 GITHUB_TOKEN : ${{ secrets.GH_ROOT_TOKEN }}
160162 ASERTO_TAP : ${{ secrets.GH_ASERTO_TAP_TOKEN }}
@@ -169,7 +171,7 @@ jobs:
169171 steps :
170172 -
171173 name : Checkout
172- uses : actions/checkout@v4
174+ uses : actions/checkout@v5
173175 with :
174176 fetch-depth : 0
175177 -
0 commit comments