mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-24 10:40:09 +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 依赖
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- 'go.mod'
|
||||
- 'go.sum'
|
||||
@ -23,6 +25,7 @@ jobs:
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: master
|
||||
fetch-depth: 0
|
||||
|
||||
- name: gomod2nix update
|
||||
|
||||
6
.github/workflows/push.yml
vendored
6
.github/workflows/push.yml
vendored
@ -1,5 +1,8 @@
|
||||
name: PushLint
|
||||
on: [ push ]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
golangci:
|
||||
name: lint
|
||||
@ -13,6 +16,7 @@ jobs:
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: master
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Tidy Modules
|
||||
|
||||
Loading…
Reference in New Issue
Block a user