Browse Source

Create main.yml

ed255-patch-1
arnau 4 years ago
committed by GitHub
parent
commit
c584fc1288
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions
  1. +20
    -0
      .github/workflows/main.yml

+ 20
- 0
.github/workflows/main.yml

@ -0,0 +1,20 @@
name: Test
on: [push, pull_request]
jobs:
test:
# matrix strategy from: https://github.com/mvdan/github-actions-golang/blob/master/.github/workflows/test.yml
strategy:
matrix:
go-version: [1.13.x, 1.14.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: go test ./...

Loading…
Cancel
Save