Skip to content

Commit 4bf6444

Browse files
committed
Pin GitHub Actions to commit SHAs in .github/workflows/dotnet.yaml
1 parent de820d0 commit 4bf6444

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/dotnet.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
runs-on: ubuntu-latest
2020

2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2323
with:
2424
fetch-depth: 0 # so that NerdBank.GitVersioning has access to history
2525
- name: Install Nix
26-
uses: cachix/install-nix-action@v30
26+
uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
2727
with:
2828
extra_nix_config: |
2929
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
@@ -38,9 +38,9 @@ jobs:
3838
runs-on: ubuntu-latest
3939
steps:
4040
- name: Checkout
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
4242
- name: Install Nix
43-
uses: cachix/install-nix-action@v30
43+
uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
4444
with:
4545
extra_nix_config: |
4646
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
@@ -53,9 +53,9 @@ jobs:
5353
runs-on: ubuntu-latest
5454
steps:
5555
- name: Checkout
56-
uses: actions/checkout@v4
56+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
5757
- name: Install Nix
58-
uses: cachix/install-nix-action@v30
58+
uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
5959
with:
6060
extra_nix_config: |
6161
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
@@ -66,9 +66,9 @@ jobs:
6666
runs-on: ubuntu-latest
6767
steps:
6868
- name: Checkout
69-
uses: actions/checkout@v4
69+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
7070
- name: Install Nix
71-
uses: cachix/install-nix-action@v30
71+
uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
7272
with:
7373
extra_nix_config: |
7474
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
@@ -79,9 +79,9 @@ jobs:
7979
name: Check flake
8080
runs-on: ubuntu-latest
8181
steps:
82-
- uses: actions/checkout@master
82+
- uses: actions/checkout@61b9e3751b92087fd0b06925ba6dd6314e06f089 # master
8383
- name: Install Nix
84-
uses: cachix/install-nix-action@v30
84+
uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
8585
with:
8686
extra_nix_config: |
8787
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
@@ -92,9 +92,9 @@ jobs:
9292
name: Check links
9393
runs-on: ubuntu-latest
9494
steps:
95-
- uses: actions/checkout@master
95+
- uses: actions/checkout@61b9e3751b92087fd0b06925ba6dd6314e06f089 # master
9696
- name: Install Nix
97-
uses: cachix/install-nix-action@v31
97+
uses: cachix/install-nix-action@8aa03977d8d733052d78f4e008a241fd1dbf36b3 # v31
9898
with:
9999
extra_nix_config: |
100100
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
@@ -104,11 +104,11 @@ jobs:
104104
nuget-pack:
105105
runs-on: ubuntu-latest
106106
steps:
107-
- uses: actions/checkout@v4
107+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
108108
with:
109109
fetch-depth: 0 # so that NerdBank.GitVersioning has access to history
110110
- name: Install Nix
111-
uses: cachix/install-nix-action@v31
111+
uses: cachix/install-nix-action@8aa03977d8d733052d78f4e008a241fd1dbf36b3 # v31
112112
with:
113113
extra_nix_config: |
114114
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
@@ -119,7 +119,7 @@ jobs:
119119
- name: Pack
120120
run: nix develop --command dotnet pack --configuration Release
121121
- name: Upload NuGet artifact
122-
uses: actions/upload-artifact@v4
122+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
123123
with:
124124
name: nuget-package
125125
path: FicroKanSharp/bin/Release/FicroKanSharp.*.nupkg
@@ -129,7 +129,7 @@ jobs:
129129
runs-on: ubuntu-latest
130130
steps:
131131
- name: Download NuGet artifact
132-
uses: actions/download-artifact@v4
132+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
133133
with:
134134
name: nuget-package
135135
path: packed

0 commit comments

Comments
 (0)