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

Adding .github/workflows/test.yml

This commit is contained in:
Henrik Hautakoski 2023-04-19 17:55:48 +02:00
parent 9c4aa79c11
commit b6aabef7f3

24
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,24 @@
name: Test
on:
- push
- pull_request
jobs:
test:
strategy:
matrix:
go-version: ["1.18", "1.19", "1.20"]
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 ./...