File tree 3 files changed +19
-7
lines changed
3 files changed +19
-7
lines changed Original file line number Diff line number Diff line change
1
+ # ref: https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
2
+ version : 2
3
+ updates :
4
+ - package-ecosystem : " github-actions"
5
+ directory : " /"
6
+ schedule :
7
+ interval : " weekly" # Check for updates to GitHub Actions every week
8
+ ignore :
9
+ # I just want update action when major/minor version is updated. patch updates are too noisy.
10
+ - dependency-name : ' *'
11
+ update-types :
12
+ - version-update:semver-patch
Original file line number Diff line number Diff line change 14
14
runs-on : ubuntu-latest
15
15
timeout-minutes : 10
16
16
steps :
17
- - uses : actions/checkout@v4
17
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18
18
- uses : Cysharp/Actions/.github/actions/setup-dotnet@main
19
19
- run : dotnet build -c Debug
20
20
- run : dotnet test -c Debug --no-build
30
30
steps :
31
31
- name : Load secrets
32
32
id : op-load-secret
33
- uses : 1password/load-secrets-action@v2
33
+ uses : 1password/load-secrets-action@581a835fb51b8e7ec56b71cf2ffddd7e68bb25e0 # v2.0.0
34
34
with :
35
35
export-env : false
36
36
env :
39
39
UNITY_PASSWORD : " op://${{ vars.OP_VAULT_ACTIONS_PUBLIC }}/UNITY_LICENSE/credential"
40
40
UNITY_SERIAL : " op://${{ vars.OP_VAULT_ACTIONS_PUBLIC }}/UNITY_LICENSE/serial"
41
41
42
- - uses : actions/checkout@v4
42
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
43
43
44
44
# Run SourceGenerater to generate serialization code
45
45
- uses : Cysharp/Actions/.github/actions/setup-dotnet@main
Original file line number Diff line number Diff line change 28
28
timeout-minutes : 10
29
29
steps :
30
30
- run : echo ${{ needs.update-packagejson.outputs.sha }}
31
- - uses : actions/checkout@v4
31
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
32
32
with :
33
33
ref : ${{ needs.update-packagejson.outputs.sha }}
34
34
- uses : Cysharp/Actions/.github/actions/setup-dotnet@main
52
52
steps :
53
53
- name : Load secrets
54
54
id : op-load-secret
55
- uses : 1password/load-secrets-action@v2
55
+ uses : 1password/load-secrets-action@581a835fb51b8e7ec56b71cf2ffddd7e68bb25e0 # v2.0.0
56
56
with :
57
57
export-env : false
58
58
env :
62
62
UNITY_SERIAL : " op://${{ vars.OP_VAULT_ACTIONS_PUBLIC }}/UNITY_LICENSE/serial"
63
63
64
64
- run : echo ${{ needs.update-packagejson.outputs.sha }}
65
- - uses : actions/checkout@v4
65
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
66
66
with :
67
67
ref : ${{ needs.update-packagejson.outputs.sha }}
68
68
88
88
customParameters : " /headless /ScriptBackend IL2CPP"
89
89
90
90
# check meta files
91
- - uses : Cysharp/Actions/.github/actions/check-metas@main
91
+ - uses : Cysharp/Actions/.github/actions/check-metas@main # check meta files
92
92
with :
93
93
directory : src/MemoryPack.Unity
94
94
You can’t perform that action at this time.
0 commit comments