2023-12-29 12:54:16 +01:00
|
|
|
name: ci
|
2024-04-04 16:35:31 +02:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
pull_request:
|
2022-04-18 23:54:26 +02:00
|
|
|
jobs:
|
|
|
|
ci-job:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2024-04-05 21:41:05 +02:00
|
|
|
go: [ '1.10.x', '1.19', '1.20', '1.21', '1.22', '1.x' ]
|
2022-04-18 23:54:26 +02:00
|
|
|
name: Go ${{ matrix.go }}
|
|
|
|
steps:
|
2023-12-29 12:54:16 +01:00
|
|
|
- uses: actions/checkout@v4
|
2022-04-18 23:54:26 +02:00
|
|
|
- name: Use go
|
2023-12-29 12:54:16 +01:00
|
|
|
uses: actions/setup-go@v5
|
2022-04-18 23:54:26 +02:00
|
|
|
with:
|
|
|
|
go-version: ${{ matrix.go }}
|
|
|
|
- run: go build .
|
|
|
|
- run: go test -v
|