mirror of
https://github.com/lukaszraczylo/shared-actions.git
synced 2026-06-05 22:43:43 +00:00
fixup! Add LFS support to the workflows.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user