chore: 优化ci及问题模板

This commit is contained in:
耗子
2024-12-15 17:14:39 +08:00
parent f8b718d99f
commit af25b676f8
9 changed files with 13 additions and 49 deletions
+1 -1
View File
@@ -71,4 +71,4 @@ jobs:
name: ${{ matrix.goarch }}
path: |
web-${{ matrix.goarch }}
cli-${{ matrix.goarch }}
cli-${{ matrix.goarch }}
+1 -1
View File
@@ -39,4 +39,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: frontend
path: web/dist/ # https://github.com/actions/upload-artifact/issues/541
path: web/dist/ # https://github.com/actions/upload-artifact/issues/541
+1 -1
View File
@@ -41,4 +41,4 @@ jobs:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+1 -1
View File
@@ -19,4 +19,4 @@ jobs:
with:
gh_repo: ${{ github.repository }}
gh_token: ${{ secrets.GITHUB_TOKEN }}
issue_labels: "⭐ No Star"
issue_labels: "⭐ No Star"
-17
View File
@@ -24,23 +24,6 @@ jobs:
skip-cache: true
version: latest
args: --timeout=30m ./...
nilaway:
runs-on: ubuntu-24.04
if: false
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
cache: true
go-version: 'stable'
- name: Install dependencies
run: go mod tidy
- name: Install NilAway
run: go install go.uber.org/nilaway/cmd/nilaway@latest
- name: Run NilAway
run: nilaway -include-pkgs="github.com/TheTNB/panel" ./...
govulncheck:
runs-on: ubuntu-24.04
steps:
+1 -1
View File
@@ -26,4 +26,4 @@ jobs:
uses: codecov/codecov-action@v5
with:
file: ./coverage.out
token: ${{ secrets.CODECOV }}
token: ${{ secrets.CODECOV }}