summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorY.Horie <u5.horie@gmail.com>2022-07-27 22:27:18 +0900
committerGitHub <noreply@github.com>2022-07-27 09:27:18 -0400
commitc833e3b249d98e5d234eafea714e233a213ca6c2 (patch)
tree8e65fcf90d041b1c0ec47e48cd22ff76d7ef61c1
parent7991cd125083121dc9b5907bb2dcaca6b078b4a5 (diff)
ci: Run golangci-lint on multiple os(#4875) (#4913)
-rw-r--r--.github/workflows/lint.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 0aae619..f8f08a7 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -14,7 +14,10 @@ jobs:
# From https://github.com/golangci/golangci-lint-action
golangci:
name: lint
- runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ os: [ubuntu-latest, macos-latest, windows-latest]
+ runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
@@ -25,6 +28,6 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
- version: v1.44
+ version: v1.47
# Optional: show only new issues if it's a pull request. The default value is `false`.
- # only-new-issues: true
+ only-new-issues: true