-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (35 loc) · 1 KB
/
Copy pathci.yml
File metadata and controls
38 lines (35 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: CI
on:
pull_request:
push:
schedule:
- cron: 0 0 * * 0
workflow_dispatch:
defaults:
run:
shell: 'bash -Eeuo pipefail -x {0}'
jobs:
go:
strategy:
matrix:
go:
# test 1.24+
- 1.26
- 1.25
- 1.24
# and any specific patch releases just before logic/invocation changes
- 1.26rc1 # https://github.com/golang/go/commit/29f3f72dbd67c25033df944c8ced91e0efd46851
- 1.25.5 # https://github.com/golang/go/commit/082365aa552a7e2186f79110d5311dce70749cc0
# also test tip (via "golang:tip", so ~weekly snapshots)
- tip
fail-fast: false
name: 'Go ${{ matrix.go }}'
runs-on: ubuntu-latest
env:
GO_VERSION: '${{ matrix.go }}'
DOCKER_BUILDKIT: '0'
steps:
- uses: tianon/actions/checkout/composite@581498642ee39d41dc3a801d22b3f7f42a95acc7 # HEAD
- name: Test
run: |
docker build --pull . --file Dockerfile.test --build-arg GO_VERSION="$GO_VERSION"