Version 1.1.2-rc2 #262
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: Test | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
go-version: ["1.20", "1.21"] | |
runs-on: ubuntu-latest | |
name: Test (go v${{ matrix.go-version }}) | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Test | |
run: go test -v ./... | |
- name: Test API | |
run: cd api; go test -v ./... | |
test-alpine: | |
strategy: | |
fail-fast: false | |
matrix: | |
tag: ["1.20-alpine3.19", "1.21-alpine3.19"] | |
runs-on: ubuntu-latest | |
name: Test alpine (${{ matrix.tag }}) | |
container: | |
image: golang:${{ matrix.tag }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Test | |
run: go test -v ./... | |
- name: Test API | |
run: cd api; go test -v ./... | |