forked from TrueCloudLab/frostfs-contract
.github: add testing workflow
This commit is contained in:
parent
cd005e54a4
commit
922c73bdac
1 changed files with 20 additions and 0 deletions
20
.github/workflows/go.yml
vendored
Normal file
20
.github/workflows/go.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
name: Go
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
tests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Set up Go
|
||||||
|
uses: actions/setup-go@v2
|
||||||
|
with:
|
||||||
|
go-version: 1.17
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: go test -v ./...
|
Loading…
Reference in a new issue