Skip to content

Merge pull request #66 from yutopp/feature/update-ci #60

Merge pull request #66 from yutopp/feature/update-ci

Merge pull request #66 from yutopp/feature/update-ci #60

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.22.0', '1.21.0', '1.20', '1.19' ]
name: ${{ matrix.go }}
steps:
- uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- run: make download-ci-tools
- env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: make lint-ci
- run: make test
- run: make vet
- uses: codecov/codecov-action@v4
with:
files: ./coverage.txt
flags: unittests
name: codecov-umbrella-${{ matrix.go }}
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true