Skip to content

feat: v0 draft

feat: v0 draft #7

Workflow file for this run

name: Lint report
on:
pull_request:
paths:
- "**.go"
workflow_dispatch:
jobs:
report:
name: Report
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "1.22"
- name: Install report card
run: |
git clone https://github.com/gojp/goreportcard.git
cd goreportcard
make install
go install ./cmd/goreportcard-cli
cd ..
rm -rf goreportcard
- name: Report
run: goreportcard-cli -v -t 100
golangci-lint:
name: Lint (golangci-lint)
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: "1.22"
cache: false
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3