mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-12 02:00:24 +00:00
✨ 升级go.mod到1.17
This commit is contained in:
4
.github/workflows/pull.yml
vendored
4
.github/workflows/pull.yml
vendored
@@ -2,14 +2,12 @@ name: PullLint
|
||||
on: [pull_request]
|
||||
jobs:
|
||||
golangci:
|
||||
strategy:
|
||||
go-version: 1.17.x
|
||||
name: lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v2
|
||||
uses: golangci/golangci-lint-action@master
|
||||
with:
|
||||
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
|
||||
version: latest
|
||||
|
||||
4
.github/workflows/push.yml
vendored
4
.github/workflows/push.yml
vendored
@@ -2,14 +2,12 @@ name: PushLint
|
||||
on: [push]
|
||||
jobs:
|
||||
golangci:
|
||||
strategy:
|
||||
go-version: 1.17.x
|
||||
name: lint_golangci-lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v2
|
||||
uses: golangci/golangci-lint-action@master
|
||||
with:
|
||||
version: latest
|
||||
args: --issues-exit-code=0
|
||||
|
||||
Reference in New Issue
Block a user