File tree Expand file tree Collapse file tree 3 files changed +21
-6
lines changed
Expand file tree Collapse file tree 3 files changed +21
-6
lines changed Original file line number Diff line number Diff line change 55 golangci-lint :
66 name : runner / golangci-lint
77 runs-on : ubuntu-latest
8+ strategy :
9+ matrix :
10+ go-version :
11+ - ' 1.23'
12+ - ' 1.24'
813 steps :
914 - name : Check out code into the Go module directory
1015 uses : actions/checkout@v4
1116 - uses : actions/setup-go@v5
1217 with :
13- go-version : ' 1.23 '
18+ go-version : ${{ matrix.go-version }}
1419 cache : false
1520 - name : golangci-lint
1621 uses : golangci/golangci-lint-action@v6
@@ -62,14 +67,24 @@ jobs:
6267 tests :
6368 name : runner / tests
6469 runs-on : ubuntu-latest
70+ strategy :
71+ matrix :
72+ go-version :
73+ - ' 1.23'
74+ - ' 1.24'
6575 steps :
6676 - uses : actions/checkout@v4
6777 - uses : actions/setup-go@v5
6878 with :
69- go-version : 1.23
79+ go-version : ${{ matrix.go-version }}
7080 - name : Unit Tests
7181 run : " make test"
7282 - name : Upload coverage report
7383 run : bash <(curl -s https://codecov.io/bash)
84+
85+ integration-tests :
86+ name : runner / tests
87+ runs-on : ubuntu-latest
88+ steps :
7489 - name : Integration tests
7590 run : " make compose-up-integration-test"
Original file line number Diff line number Diff line change 11# Step 1: Modules caching
2- FROM golang:1.23.6 -alpine3.21 as modules
2+ FROM golang:1.24.1 -alpine3.21 as modules
33COPY go.mod go.sum /modules/
44WORKDIR /modules
55RUN go mod download
66
77# Step 2: Builder
8- FROM golang:1.23.6 -alpine3.21 as builder
8+ FROM golang:1.24.1 -alpine3.21 as builder
99COPY --from=modules /go/pkg /go/pkg
1010COPY . /app
1111WORKDIR /app
Original file line number Diff line number Diff line change 11# Step 1: Modules caching
2- FROM golang:1.23.6 -alpine3.21 as modules
2+ FROM golang:1.24.1 -alpine3.21 as modules
33COPY go.mod go.sum /modules/
44WORKDIR /modules
55RUN go mod download
66
77# Step 2: Tests
8- FROM golang:1.23.6 -alpine3.21
8+ FROM golang:1.24.1 -alpine3.21
99COPY --from=modules /go/pkg /go/pkg
1010COPY . /app
1111WORKDIR /app
You can’t perform that action at this time.
0 commit comments