Skip to content

Commit 06067cd

Browse files
committed
ci: use Cysharp/Actions checkout instead of 3rd party directly
1 parent d9983cf commit 06067cd

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

.github/workflows/build-debug.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
timeout-minutes: 10
1515
steps:
16-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16+
- uses: Cysharp/Actions/.github/actions/checkout@main
1717
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
1818
- run: dotnet build -c Debug
1919
- run: dotnet test -c Debug
@@ -39,7 +39,7 @@ jobs:
3939
UNITY_PASSWORD: "op://${{ vars.OP_VAULT_ACTIONS_PUBLIC }}/UNITY_LICENSE/credential"
4040
UNITY_SERIAL: "op://${{ vars.OP_VAULT_ACTIONS_PUBLIC }}/UNITY_LICENSE/serial"
4141

42-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
42+
- uses: Cysharp/Actions/.github/actions/checkout@main
4343

4444
# Execute scripts: Export Package
4545
# /opt/Unity/Editor/Unity -quit -batchmode -nographics -silent-crashes -logFile -projectPath . -executeMethod PackageExporter.Export

.github/workflows/build-docs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
runs-on: ubuntu-latest
1212
timeout-minutes: 10
1313
steps:
14-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
14+
- uses: Cysharp/Actions/.github/actions/checkout@main
15+
- uses: Cysharp/Actions/.github/actions/checkout@main
1616
with:
1717
repository: Cysharp/DocfxTemplate
1818
path: docs/_DocfxTemplate

.github/workflows/build-release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
timeout-minutes: 10
2727
steps:
2828
- run: echo ${{ needs.update-packagejson.outputs.sha }}
29-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
29+
- uses: Cysharp/Actions/.github/actions/checkout@main
3030
with:
3131
ref: ${{ needs.update-packagejson.outputs.sha }}
3232
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
@@ -61,7 +61,7 @@ jobs:
6161
UNITY_SERIAL: "op://${{ vars.OP_VAULT_ACTIONS_PUBLIC }}/UNITY_LICENSE/serial"
6262

6363
- run: echo ${{ needs.update-packagejson.outputs.sha }}
64-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
64+
- uses: Cysharp/Actions/.github/actions/checkout@main
6565
with:
6666
ref: ${{ needs.update-packagejson.outputs.sha }}
6767
# Execute scripts: Export Package

.github/workflows/toc.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ on:
88
jobs:
99
generateTOC:
1010
name: TOC Generator
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: technote-space/toc-generator@9e238e7974de5fcf7b17b7acc54c896160dda0a3 # v4.3.1
14-
with:
15-
TOC_TITLE: "## Table of Contents"
11+
uses: Cysharp/Actions/.github/workflows/toc-generator.yaml@main
12+
with:
13+
TOC_TITLE: "## Table of Contents"
14+
secrets: inherit

0 commit comments

Comments
 (0)