chore: run tests against latest Docker engine, nightly #1
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 agains Latest Docker Moby | |
on: | |
pull_request: | |
types: [opened, reopened] | |
schedule: | |
# nightly build, at 23:59 CEST | |
- cron: '59 23 * * *' | |
jobs: | |
test_latest_moby: | |
name: "Core tests using latest moby/moby" | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Set up Go | |
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5 | |
with: | |
go-version-file: 'go.mod' | |
cache-dependency-path: 'go.sum' | |
id: go | |
- name: modVerify | |
run: go mod verify | |
- name: modTidy | |
run: go mod tidy | |
- name: Install Latest Docker | |
run: curl https://get.docker.com | CHANNEL=test sh | |
- name: go test | |
timeout-minutes: 30 | |
run: make test-unit |