21 lines
385 B
YAML
21 lines
385 B
YAML
|
on: [pull_request]
|
||
|
|
||
|
jobs:
|
||
|
tests:
|
||
|
name: Tests
|
||
|
runs-on: ubuntu-latest
|
||
|
strategy:
|
||
|
matrix:
|
||
|
go_versions: [ '1.19', '1.20' ]
|
||
|
fail-fast: false
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
|
||
|
- name: Set up Go
|
||
|
uses: actions/setup-go@v3
|
||
|
with:
|
||
|
go-version: '${{ matrix.go_versions }}'
|
||
|
|
||
|
- name: Run tests
|
||
|
run: make test
|