Skip to content

golangci-lintを導入 #3

golangci-lintを導入

golangci-lintを導入 #3

Workflow file for this run

name: Lint and Test golang
on:
pull_request:
push:
branches:
- main
- develop
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54