Skip to content

Commit aba94a1

Browse files
ci: pin dependencies (#101)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent dfe9eb6 commit aba94a1

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727

2828
steps:
2929
- name: ⏬ Checkout
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
3131
with:
3232
fetch-depth: 0
3333

3434
- name: 🔽 Install dotnet
35-
uses: actions/setup-dotnet@v4
35+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4
3636

3737
- name: 🔍 Print dotnet info
3838
run: dotnet --info
@@ -60,7 +60,7 @@ jobs:
6060

6161
- name: 💾 Upload artifacts
6262
if: success() && matrix.os == 'windows-latest'
63-
uses: actions/upload-artifact@v4
63+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
6464
with:
6565
name: yolo-dev-sdk
6666
path: artifacts

.github/workflows/release-please.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ jobs:
2020
# Generating a GitHub token, so that PRs and tags created by
2121
# the release-plz-action can trigger actions workflows.
2222
- name: Generate GitHub token
23-
uses: actions/create-github-app-token@v1
23+
uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1
2424
id: generate-token
2525
with:
2626
app-id: ${{ secrets.RELEASE_BOT_APP_ID }}
2727
private-key: ${{ secrets.RELEASE_BOT_APP_PRIVATE_KEY }}
2828

2929
- id: release
30-
uses: GoogleCloudPlatform/release-please-action@v4
30+
uses: GoogleCloudPlatform/release-please-action@5c625bfb5d1ff62eadeeb3772007f7f66fdcf071 # v4
3131
with:
3232
token: ${{ steps.generate-token.outputs.token }}
3333
command: manifest
@@ -71,10 +71,10 @@ jobs:
7171

7272
steps:
7373
- name: ⏬ Checkout
74-
uses: actions/checkout@v4
74+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
7575

7676
- name: 🔽 Install dotnet
77-
uses: actions/setup-dotnet@v4
77+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4
7878

7979
- name: 🔍 Print dotnet info
8080
run: dotnet --info
@@ -89,20 +89,20 @@ jobs:
8989
run: dotnet pack --configuration Release --no-build
9090

9191
- name: 🔼 Upload packages as artifact
92-
uses: actions/upload-artifact@v4
92+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
9393
with:
9494
name: nuget
9595
path: artifacts/nuget/
9696

9797
- name: 🔼 Upload global.json as artifact
98-
uses: actions/upload-artifact@v4
98+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
9999
with:
100100
name: global-json
101101
path: global.json
102102

103103
- name: 🔼 Upload packages as github release asset
104104
if: needs.release_please.outputs.upload_url != ''
105-
uses: shogo82148/actions-upload-release-asset@v1
105+
uses: shogo82148/actions-upload-release-asset@96bc1f0cb850b65efd58a6b5eaa0a69f88d38077 # v1
106106
with:
107107
upload_url: ${{ needs.release_please.outputs.upload_url }}
108108
asset_path: artifacts/nuget/*
@@ -122,18 +122,18 @@ jobs:
122122

123123
steps:
124124
- name: 🔽 Download nuget artifact
125-
uses: actions/download-artifact@v4
125+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
126126
with:
127127
name: nuget
128128
path: nuget
129129

130130
- name: 🔽 Download global-json artifact
131-
uses: actions/download-artifact@v4
131+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
132132
with:
133133
name: global-json
134134

135135
- name: 🔽 Install dotnet
136-
uses: actions/setup-dotnet@v4
136+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4
137137

138138
- name: 🔼 Publish package to nuget
139139
run: dotnet nuget push --force-english-output --api-key '${{ secrets.GITHUB_TOKEN }}' --source 'https://nuget.pkg.github.com/YoloDev/index.json' --skip-duplicate "nuget/*.nupkg"
@@ -151,18 +151,18 @@ jobs:
151151

152152
steps:
153153
- name: 🔽 Download nuget artifact
154-
uses: actions/download-artifact@v4
154+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
155155
with:
156156
name: nuget
157157
path: nuget
158158

159159
- name: 🔽 Download global-json artifact
160-
uses: actions/download-artifact@v4
160+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
161161
with:
162162
name: global-json
163163

164164
- name: 🔽 Install dotnet
165-
uses: actions/setup-dotnet@v4
165+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4
166166

167167
- name: 🔼 Publish package to nuget
168168
run: dotnet nuget push --force-english-output --api-key '${{ secrets.NUGET_API_KEY }}' --source '${{ secrets.NUGET_FEED }}' --skip-duplicate "nuget/*.nupkg"

0 commit comments

Comments
 (0)