Skip to content

Commit 736acc8

Browse files
committed
[CI] Updates GitHub Actions
1 parent fb53cf8 commit 736acc8

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.github/workflows/license.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ jobs:
44
build:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v4
8-
- uses: ruby/setup-ruby@v1
7+
- uses: actions/[email protected]
8+
with:
9+
persist-credentials: false
10+
- uses: ruby/[email protected]
911
with:
1012
ruby-version: '3.4'
1113
- name: Check license headers

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ jobs:
1717
ruby: ['head', '3.2', '3.3', '3.4', 'jruby-9.3', 'jruby-9.4', 'jruby-10.0']
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/[email protected]
21+
with:
22+
persist-credentials: false
2123
- name: Increase system limits
2224
run: |
2325
sudo swapoff -a
@@ -27,7 +29,7 @@ jobs:
2729
- uses: elastic/elastic-github-actions/elasticsearch@master
2830
with:
2931
stack-version: 9.2.0-SNAPSHOT
30-
- uses: ruby/setup-ruby@v1
32+
- uses: ruby/setup-ruby@v1.263.0
3133
with:
3234
ruby-version: ${{ matrix.ruby }}
3335
- name: Build

.github/workflows/otel.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
ruby: ['3.4', 'jruby-9.4']
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/[email protected]
23+
with:
24+
persist-credentials: false
2325
- name: Increase system limits
2426
run: |
2527
sudo swapoff -a
@@ -29,7 +31,7 @@ jobs:
2931
- uses: elastic/elastic-github-actions/elasticsearch@master
3032
with:
3133
stack-version: 9.2.0-SNAPSHOT
32-
- uses: ruby/setup-ruby@v1
34+
- uses: ruby/setup-ruby@v1.263.0
3335
with:
3436
ruby-version: ${{ matrix.ruby }}
3537
- name: Build

0 commit comments

Comments
 (0)