Bump github.com/docker/docker from 24.0.0+incompatible to 27.2.0+incompatible #48
Workflow file for this run
This file contains 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: Tests | |
on: | |
push: | |
tags-ignore: | |
- '**' | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Tests | |
runs-on: ubuntu-latest | |
services: | |
docker: | |
image: docker:dind | |
options: --privileged --shm-size=2g | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock:ro | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.23.x | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Compile Go source | |
run: go test -c -o /dev/null ./... | |
- name: Build Ginkgo CLI | |
run: go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo | |
- name: Build test image | |
run: docker build --tag test:me -f test/sample/Dockerfile test/sample/data | |
- name: Test | |
run: | | |
ginkgo run \ | |
--coverprofile=unit.coverprofile \ | |
--randomize-all \ | |
--randomize-suites \ | |
--fail-on-pending \ | |
--keep-going \ | |
--compilers=2 \ | |
--race \ | |
--trace \ | |
-v \ | |
./... | |
- name: Upload Code Coverage Profile | |
uses: codecov/codecov-action@v4 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
with: | |
files: unit.coverprofile | |
flags: unittests | |
fail_ci_if_error: true | |
verbose: false |