This repository has been archived by the owner on May 15, 2024. It is now read-only.
Update go.starlark.net digest to 169c986 #865
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: test | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.15 | |
- name: Run go mod download | |
run: go mod download | |
- name: Run tests | |
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./... | |
- uses: codecov/codecov-action@v1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
build: | |
runs-on: ubuntu-latest | |
name: build | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.15 | |
- name: Install gox | |
run: go get github.com/mitchellh/gox | |
- name: build | |
run: gox --osarch "linux/amd64 linux/386 darwin/amd64" github.com/raba-jp/primus/cmd/primus |