forked from mirror/pkger
revert
This commit is contained in:
parent
ec8c803b27
commit
e4d652a24e
|
@ -2,23 +2,24 @@ name: Tests
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
tests-on:
|
tests:
|
||||||
name: ${{matrix.go-version}} ${{matrix.os}}
|
name: ${{matrix.os}} Tests
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version: [1.13.x]
|
|
||||||
os: [macos-latest, windows-latest, ubuntu-latest]
|
os: [macos-latest, windows-latest, ubuntu-latest]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Set up Go 1.13
|
||||||
uses: actions/checkout@v1
|
uses: actions/setup-go@v1
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
go-version: 1.13
|
||||||
|
id: go
|
||||||
|
|
||||||
|
- name: Check out code into the Go module directory
|
||||||
|
uses: actions/checkout@v1
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
go get -t ./...
|
|
||||||
go mod download
|
go mod download
|
||||||
go mod tidy -v
|
go mod tidy -v
|
||||||
go test -race ./...
|
go test -race ./...
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue