Skip to content

Update kin

Update kin #88

Workflow file for this run

---
name: CI
on:
pull_request:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: lint
uses: reviewdog/action-golangci-lint@v2
test:
strategy:
matrix:
go_version:
- 1.21.x
- 1.20.x
os:
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go_version }}
- name: test
run: go test -race -coverprofile=cover.out -covermode=atomic ./...
- uses: actions/upload-artifact@v3
if: strategy.job-index == 0
with:
name: coverage
path: ./cover.out
if-no-files-found: error
report-coverage:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
pull-requests: write
needs:
- test
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
with:
name: coverage
- uses: k1LoW/octocov-action@v0