mirror-yaf/.github/workflows/test.yml

34 lines
475 B
YAML
Raw Normal View History

2022-08-19 20:50:01 +02:00
---
name: Test
on:
push:
branches:
- master
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.18, 1.19]
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v3
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: go build
- name: Test
run: go test -v ./...