Skip to content

Merge pull request #145 from JunNishimura/dependabot/go_modules/githu… #251

Merge pull request #145 from JunNishimura/dependabot/go_modules/githu…

Merge pull request #145 from JunNishimura/dependabot/go_modules/githu… #251

Workflow file for this run

name: test
on:
push:
branches:
- '**'
jobs:
test:
name: test
strategy:
fail-fast: false
max-parallel: 3
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v2
- name: setup Golang
uses: actions/setup-go@v2
with:
go-version: 1.19
- name: get dependencies
run: go get -v -t -d ./...
- name: test code
run: go test ./...
test-status:
name: test status
runs-on: ubuntu-latest
needs: test
steps:
- name: set check status success
uses: Sibz/github-status-action@v1
with:
context: test-status
authToken: ${{ secrets.GITHUB_TOKEN }}
state: success