mirror of
https://github.com/lukaszraczylo/shared-actions.git
synced 2026-06-09 23:03:54 +00:00
fixup! Add LFS support to the workflows.
This commit is contained in:
@@ -34,6 +34,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
lfs: ${{ inputs.lfs }}
|
||||||
|
|
||||||
- name: Run workflow prepare script
|
- name: Run workflow prepare script
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -66,6 +67,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
lfs: ${{ inputs.lfs }}
|
||||||
|
|
||||||
- name: Run workflow prepare script
|
- name: Run workflow prepare script
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -154,6 +156,38 @@ jobs:
|
|||||||
category: gosec
|
category: gosec
|
||||||
continue-on-error: true
|
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:
|
codeql:
|
||||||
name: CodeQL Analysis
|
name: CodeQL Analysis
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user