fixup! Add LFS support to the workflows.

This commit is contained in:
2025-12-19 04:47:31 +00:00
parent 18b88d10ed
commit 21b995bb16
+34
View File
@@ -34,6 +34,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: ${{ inputs.lfs }}
- name: Run workflow prepare script
shell: bash
@@ -66,6 +67,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: ${{ inputs.lfs }}
- name: Run workflow prepare script
shell: bash
@@ -154,6 +156,38 @@ jobs:
category: gosec
continue-on-error: true
goreleaser-check:
name: GoReleaser Config Validation
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: ${{ inputs.lfs }}
- name: Run workflow prepare script
shell: bash
run: |
if [ -f "./workflow-prepare.sh" ]; then
chmod +x ./workflow-prepare.sh
./workflow-prepare.sh
fi
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go-version }}
cache: true
- name: Check goreleaser config
if: hashFiles('.goreleaser.yml', '.goreleaser.yaml') != ''
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: "~> v2"
args: check
codeql:
name: CodeQL Analysis
runs-on: ubuntu-latest