mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-01-11 16:19:02 +08:00
chore: make lint happy
This commit is contained in:
parent
a13486faef
commit
6a83d74eb7
3
.github/workflows/gomod2nix.yml
vendored
3
.github/workflows/gomod2nix.yml
vendored
@ -1,6 +1,8 @@
|
|||||||
name: 自动更新 nix 依赖
|
name: 自动更新 nix 依赖
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
paths:
|
paths:
|
||||||
- 'go.mod'
|
- 'go.mod'
|
||||||
- 'go.sum'
|
- 'go.sum'
|
||||||
@ -23,6 +25,7 @@ jobs:
|
|||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
with:
|
with:
|
||||||
|
ref: master
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: gomod2nix update
|
- name: gomod2nix update
|
||||||
|
|||||||
6
.github/workflows/push.yml
vendored
6
.github/workflows/push.yml
vendored
@ -1,5 +1,8 @@
|
|||||||
name: PushLint
|
name: PushLint
|
||||||
on: [ push ]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
jobs:
|
jobs:
|
||||||
golangci:
|
golangci:
|
||||||
name: lint
|
name: lint
|
||||||
@ -13,6 +16,7 @@ jobs:
|
|||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
with:
|
with:
|
||||||
|
ref: master
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Tidy Modules
|
- name: Tidy Modules
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user