Skip to content

Commit 47f729b

Browse files
authored
.github: update and pin actions (#319)
Updates #cleanup --------- Signed-off-by: Erisa A <[email protected]>
1 parent 490a435 commit 47f729b

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

.github/workflows/on-pull-request.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: on-pull-request
22

33
on:
44
pull_request:
5-
branches: [main]
65

76
jobs:
87
test:

.github/workflows/package.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
timeout-minutes: 10
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
1515
with:
1616
fetch-depth: 0
1717
- name: Fetch tags
@@ -20,15 +20,15 @@ jobs:
2020
id: yarn-cache-folder
2121
run: echo "YARN_CACHE_FOLDER=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
2222
- name: Yarn cache
23-
uses: actions/cache@v3
23+
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4
2424
id: yarn-cache
2525
with:
2626
path: ${{ steps.yarn-cache-folder.outputs.YARN_CACHE_FOLDER }}
2727
key: yarn-cache
2828
- name: Install dependencies
2929
run: tool/yarn install --frozen-lockfile
3030
- name: Set up Go
31-
uses: actions/setup-go@v4
31+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
3232
with:
3333
go-version: '1.21.x'
3434
- name: Capture version
@@ -39,7 +39,7 @@ jobs:
3939
env:
4040
GORELEASER_CURRENT_TAG: ${{ steps.version.outputs.npm_package_version }}
4141
- name: Upload vsix artifact
42-
uses: actions/upload-artifact@v3
42+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
4343
with:
4444
name: vsix
4545
path: '*.vsix'

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ jobs:
4848
timeout-minutes: 5
4949

5050
steps:
51-
- uses: actions/checkout@v3
51+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
5252
- name: Download vsix artifact
53-
uses: actions/download-artifact@v3
53+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
5454
with:
5555
name: vsix
5656
- name: 'Release'

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414
timeout-minutes: 10
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
1717
- name: Capture Yarn cache path
1818
id: yarn-cache-folder
1919
run: echo "YARN_CACHE_FOLDER=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
2020
- name: Yarn cache
21-
uses: actions/cache@v3
21+
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4
2222
id: yarn-cache
2323
if: runner.os != 'Windows'
2424
with:

0 commit comments

Comments
 (0)