chore: make lint happy

This commit is contained in:
源文雨 2025-12-22 00:53:55 +08:00
parent a13486faef
commit 6a83d74eb7
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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