1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-16 04:24:56 +02:00
thalos/.github/workflows/test.yml

28 lines
No EOL
477 B
YAML

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@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: go test -v ./...
- name: Test API
run: cd api; go test -v ./...