Skip to content

Commit 44c6858

Browse files
committed
ci: use Cysharp/Actions checkout instead of 3rd party directly
1 parent ff4108b commit 44c6858

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.github/workflows/build-debug.yml

Lines changed: 2 additions & 2 deletions
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 tests/ZString.Tests -c Debug
@@ -37,7 +37,7 @@ jobs:
3737
UNITY_PASSWORD: "op://${{ vars.OP_VAULT_ACTIONS_PUBLIC }}/UNITY_LICENSE/credential"
3838
UNITY_SERIAL: "op://${{ vars.OP_VAULT_ACTIONS_PUBLIC }}/UNITY_LICENSE/serial"
3939

40-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
40+
- uses: Cysharp/Actions/.github/actions/checkout@main
4141
# Execute scripts: Export Package
4242
# /opt/Unity/Editor/Unity -quit -batchmode -nographics -silent-crashes -logFile -projectPath . -executeMethod PackageExporter.Export
4343
- name: Build Unity (.unitypacakge)

.github/workflows/build-release.yml

Lines changed: 2 additions & 2 deletions
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
@@ -60,7 +60,7 @@ jobs:
6060
UNITY_PASSWORD: "op://${{ vars.OP_VAULT_ACTIONS_PUBLIC }}/UNITY_LICENSE/credential"
6161
UNITY_SERIAL: "op://${{ vars.OP_VAULT_ACTIONS_PUBLIC }}/UNITY_LICENSE/serial"
6262

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

.github/workflows/toc.yml

Lines changed: 4 additions & 5 deletions
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)