docker: Bump alpine from 3.22 to 3.24 #3979
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: test | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: 'go.mod' | |
| - name: Test | |
| # The test coverate and the test report are needed for the SonarCloud analysis | |
| run: make test-integration GOTEST_FLAGS="-v -count=1" | |
| build-cross: | |
| # Cross-compile for the 32-bit release target. Regular CI only builds on | |
| # 64-bit, so a dependency that fails to compile on 32-bit (e.g. one using | |
| # math.MaxUint32 as an untyped int constant) would otherwise only surface | |
| # when GoReleaser cross-compiles at release time. GoReleaser ships a | |
| # linux/386 (i386) artifact, so guard that build here. | |
| name: build (linux/386) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: 'go.mod' | |
| - name: Build linux/386 | |
| run: GOOS=linux GOARCH=386 go build ./... | |
| docker-build: | |
| # Build the release Docker image. The image is otherwise only built by the | |
| # release workflow, so a Dockerfile issue (e.g. a base image whose Go version | |
| # is older than the go.mod directive) would only surface at release time. | |
| name: docker build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build Docker image | |
| run: docker build -t conduit:ci . |