Create test.yml

This commit is contained in:
Anton Medvedev 2022-04-19 23:12:44 +02:00 committed by GitHub
parent f2a2a01589
commit bae280436b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

25
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...