mirror of
https://github.com/krahets/hello-algo.git
synced 2026-10-28 19:24:21 +08:00
ci: pin selected third-party Actions to commit SHAs (#1873)
Co-authored-by: krahets <krahets@163.com>
This commit is contained in:
2
.github/workflows/dart.yml
vendored
2
.github/workflows/dart.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- name: Set up Dart ${{ matrix.dart-sdk }}
|
||||
uses: dart-lang/setup-dart@v1
|
||||
uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c # v1
|
||||
with:
|
||||
sdk: ${{ matrix.dart-sdk}}
|
||||
- name: Run format
|
||||
|
||||
2
.github/workflows/javascript.yml
vendored
2
.github/workflows/javascript.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
||||
- uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 24.x
|
||||
- uses: denoland/setup-deno@v2
|
||||
- uses: denoland/setup-deno@667a34cdef165d8d2b2e98dde39547c9daac7282 # v2
|
||||
with:
|
||||
deno-version: v2.x
|
||||
- name: Run JavaScript Code
|
||||
|
||||
2
.github/workflows/ruby.yml
vendored
2
.github/workflows/ruby.yml
vendored
@@ -36,7 +36,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
uses: ruby/setup-ruby@eab2afb99481ca09a4e91171a8e0aee0e89bfedd # v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby-version }}
|
||||
- name: Run tests
|
||||
|
||||
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
||||
code-dir: ["codes/rust", "en/codes/rust"]
|
||||
|
||||
steps:
|
||||
- uses: brndnmtthws/rust-action-rustup@v1
|
||||
- uses: brndnmtthws/rust-action-rustup@913349b802fe843511093e8c2014c94d8168c6b6 # v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
|
||||
|
||||
Reference in New Issue
Block a user