Skip to content

Commit

Permalink
Merge pull request #3 from su-its/ci/go-linter
Browse files Browse the repository at this point in the history
ci: goのリンターを作成
  • Loading branch information
KinjiKawaguchi authored Mar 1, 2024
2 parents 50f76dc + 81409a8 commit 1e2c543
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: golangci-lint

on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
paths:
- "typing-server/**"

permissions:
contents: read

jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22.0"
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.54
working-directory: typing-server # Set this to the directory where your Go code is located

0 comments on commit 1e2c543

Please sign in to comment.