Skip to content

Merge pull request #351 from kkdai/update-action-1.19 #141

Merge pull request #351 from kkdai/update-action-1.19

Merge pull request #351 from kkdai/update-action-1.19 #141

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go:
- '1.19'
- '1.19.11'
- '1.20'
- '1.20.6'
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: run codecov.sh
run: bash script/codecov.sh
- name: go vet
run: go vet $(go list ./... | grep -v /examples/)
- name: Publish to codecov.io
run: bash <(curl -s https://codecov.io/bash)