Skip to content

Commit ee26b05

Browse files
committed
ci: use sha pinning to mitigate
Lower risk about supply chain attack even though matched tag was compromised. Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
1 parent 3856f7b commit ee26b05

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
- ubuntu-latest
1414
name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
1515
steps:
16-
- uses: actions/checkout@v2
17-
- uses: ruby/setup-ruby@v1
16+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+
- uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
1818
with:
1919
ruby-version: ${{ matrix.ruby }}
2020
- name: unit testing

.github/workflows/macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
- macOS-latest
1414
name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
1515
steps:
16-
- uses: actions/checkout@v2
17-
- uses: ruby/setup-ruby@v1
16+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+
- uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
1818
with:
1919
ruby-version: ${{ matrix.ruby }}
2020
- name: unit testing

.github/workflows/windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
- windows-latest
1414
name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
1515
steps:
16-
- uses: actions/checkout@v2
17-
- uses: ruby/setup-ruby@v1
16+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+
- uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
1818
with:
1919
ruby-version: ${{ matrix.ruby }}
2020
- name: unit testing

0 commit comments

Comments
 (0)