Skip to content

Commit

Permalink
update github workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
swithek committed Mar 23, 2022
1 parent 14bc3da commit 1801e5e
Showing 1 changed file with 7 additions and 19 deletions.
26 changes: 7 additions & 19 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,14 @@
name: Go
on:
push:
branches:
- master
- v3-dev
pull_request:
branches:
- master
- v3-dev

on: [push, pull_request]
jobs:
test:
name: Testing
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ^1.18

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ^1.18
- name: Checkout code
uses: actions/checkout@v2

uses: actions/checkout@v3
- name: Run tests
run: go test -race -shuffle -failfast -timeout 1m ./...
run: go test -race -shuffle -timeout 1m ./...

0 comments on commit 1801e5e

Please sign in to comment.