Skip to content

Commit a2d7756

Browse files
committed
feat: add reusable workflows extracted from tuic repository
1 parent 6a38f13 commit a2d7756

9 files changed

Lines changed: 6 additions & 773 deletions

File tree

actions/.github/workflows/docker-publish.yml renamed to .github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
# Binary Preparation
6565
#--------------------------------------------------
6666
- name: Download compiled binaries
67-
uses: actions/download-artifact@v7
67+
uses: actions/download-artifact@v8
6868
with:
6969
pattern: "*-binaries"
7070
path: ./packages

.github/workflows/release-publish.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
name: Reusable Release Workflow
2-
3-
on:
4-
workflow_call:
5-
inputs:
6-
cliff-config:
7-
description: 'Path to changelog configuration file'
8-
required: true
9-
type: string
1+
name: Publish Release
102

113
on:
124
workflow_call:
@@ -34,7 +26,7 @@ jobs:
3426
fetch-tags: true
3527

3628
- name: Download binary artifacts
37-
uses: actions/download-artifact@v7
29+
uses: actions/download-artifact@v8
3830
with:
3931
pattern: "*-binaries"
4032
path: ./packages

.github/workflows/rust-build.yml

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,4 @@
1-
name: Reusable Build Workflow
2-
3-
on:
4-
workflow_call:
5-
inputs:
6-
rust-toolchain:
7-
description: 'Rust toolchain to use'
8-
required: false
9-
type: string
10-
default: 'stable'
11-
packages:
12-
description: 'Comma-separated list of package names'
13-
required: true
14-
type: string
15-
target-config-file:
16-
description: 'Path to the TOML file containing target configurations'
17-
required: false
18-
type: string
19-
default: '.github/target.toml'
20-
run-tests:
21-
description: 'Whether to run tests (can be overridden)'
22-
required: false
23-
type: boolean
24-
default: true
1+
name: Build Rust Binary
252

263
on:
274
workflow_call:
@@ -99,7 +76,7 @@ jobs:
9976
cargo +nightly fmt --all -- --check
10077
10178
- name: Spell Check Repo
102-
uses: crate-ci/typos@v1.43.4
79+
uses: crate-ci/typos@v1.44.0
10380
env:
10481
CLICOLOR: 1
10582

@@ -223,7 +200,7 @@ jobs:
223200
done
224201
225202
- name: Upload binary artifacts
226-
uses: actions/upload-artifact@v6
203+
uses: actions/upload-artifact@v7
227204
with:
228205
name: ${{ matrix.release-name || matrix.target }}-binaries
229206
path: artifacts/

actions/.github/workflows/release-publish.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.

actions/.github/workflows/rust-build.yml

Lines changed: 0 additions & 231 deletions
This file was deleted.

actions/action.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)