Skip to content

Merge pull request #34 from moznion/ci_go_v1.21.x #93

Merge pull request #34 from moznion/ci_go_v1.21.x

Merge pull request #34 from moznion/ci_go_v1.21.x #93

Workflow file for this run

on:
push:
jobs:
test:
name: Check
strategy:
matrix:
go-version: [1.18.x, 1.19.x, 1.20.x, 1.21.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: check out
uses: actions/checkout@v4
- name: install tools
run: "go install golang.org/x/tools/cmd/goimports@latest"
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
args: --timeout=5m
- name: check
run: make ci-check
- name: upload coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}