mirror of
https://github.com/lukaszraczylo/shared-actions.git
synced 2026-06-10 23:08:56 +00:00
Extend workflows to allow for quirks.
This commit is contained in:
@@ -25,6 +25,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Run workflow prepare script
|
||||||
|
run: |
|
||||||
|
if [ -f "./workflow-prepare.sh" ]; then
|
||||||
|
chmod +x ./workflow-prepare.sh
|
||||||
|
./workflow-prepare.sh
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -71,6 +71,13 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Run workflow prepare script
|
||||||
|
run: |
|
||||||
|
if [ -f "./workflow-prepare.sh" ]; then
|
||||||
|
chmod +x ./workflow-prepare.sh
|
||||||
|
./workflow-prepare.sh
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
uses: lukaszraczylo/shared-actions/.github/actions/go-test@main
|
uses: lukaszraczylo/shared-actions/.github/actions/go-test@main
|
||||||
with:
|
with:
|
||||||
@@ -84,6 +91,13 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Run workflow prepare script
|
||||||
|
run: |
|
||||||
|
if [ -f "./workflow-prepare.sh" ]; then
|
||||||
|
chmod +x ./workflow-prepare.sh
|
||||||
|
./workflow-prepare.sh
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
@@ -115,6 +129,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Run workflow prepare script
|
||||||
|
run: |
|
||||||
|
if [ -f "./workflow-prepare.sh" ]; then
|
||||||
|
chmod +x ./workflow-prepare.sh
|
||||||
|
./workflow-prepare.sh
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Calculate version
|
- name: Calculate version
|
||||||
id: semver
|
id: semver
|
||||||
uses: lukaszraczylo/shared-actions/.github/actions/semver@main
|
uses: lukaszraczylo/shared-actions/.github/actions/semver@main
|
||||||
@@ -140,6 +161,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Run workflow prepare script
|
||||||
|
run: |
|
||||||
|
if [ -f "./workflow-prepare.sh" ]; then
|
||||||
|
chmod +x ./workflow-prepare.sh
|
||||||
|
./workflow-prepare.sh
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
@@ -183,6 +211,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Run workflow prepare script
|
||||||
|
run: |
|
||||||
|
if [ -f "./workflow-prepare.sh" ]; then
|
||||||
|
chmod +x ./workflow-prepare.sh
|
||||||
|
./workflow-prepare.sh
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -44,6 +44,13 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Run workflow prepare script
|
||||||
|
run: |
|
||||||
|
if [ -f "./workflow-prepare.sh" ]; then
|
||||||
|
chmod +x ./workflow-prepare.sh
|
||||||
|
./workflow-prepare.sh
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
uses: lukaszraczylo/shared-actions/.github/actions/go-test@main
|
uses: lukaszraczylo/shared-actions/.github/actions/go-test@main
|
||||||
with:
|
with:
|
||||||
@@ -62,6 +69,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Run workflow prepare script
|
||||||
|
run: |
|
||||||
|
if [ -f "./workflow-prepare.sh" ]; then
|
||||||
|
chmod +x ./workflow-prepare.sh
|
||||||
|
./workflow-prepare.sh
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Calculate version
|
- name: Calculate version
|
||||||
id: semver
|
id: semver
|
||||||
uses: lukaszraczylo/shared-actions/.github/actions/semver@main
|
uses: lukaszraczylo/shared-actions/.github/actions/semver@main
|
||||||
@@ -83,6 +97,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Run workflow prepare script
|
||||||
|
run: |
|
||||||
|
if [ -f "./workflow-prepare.sh" ]; then
|
||||||
|
chmod +x ./workflow-prepare.sh
|
||||||
|
./workflow-prepare.sh
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user