Skip to content

Commit 9cf4cc4

Browse files
[improve](build): YAML(from @RalphHightower/blog) (#189)
Signed-off-by: Ralph Hightower <[email protected]>
1 parent 5ccbf25 commit 9cf4cc4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/jekyll.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,21 @@ concurrency:
2929
jobs:
3030
# Build job
3131
build:
32-
runs-on: ubuntu-22.04
32+
runs-on: ubuntu-latest
3333
steps:
34-
- name: Harden the runner (Audit all outbound calls)
34+
- name: Harden Runner
3535
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
3636
with:
3737
egress-policy: audit
3838

3939
- name: Checkout
40-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
40+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4141
- name: Setup Ruby
42-
uses: ruby/setup-ruby@28c4deda893d5a96a6b2d958c5b47fc18d65c9d3 # v1.213.0
42+
uses: ruby/setup-ruby@ab177d40ee5483edb974554986f56b33477e21d0 # v1.265.0
4343
with:
44-
ruby-version: '3.3.6' # Not needed with a .ruby-version file
44+
ruby-version: '3.4.7' # Not needed with a .ruby-version file
4545
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
46-
cache-version: 4 # Increment this number if you need to re-download cached gems
46+
cache-version: 5 # Increment this number if you need to re-download cached gems
4747
- name: Setup Pages
4848
id: pages
4949
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
@@ -56,7 +56,7 @@ jobs:
5656
LOG_LEVEL: debug
5757
- name: Upload artifact
5858
# Automatically uploads an artifact from the './_site' directory by default
59-
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
59+
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
6060

6161
# Deployment job
6262
deploy:
@@ -66,7 +66,7 @@ jobs:
6666
runs-on: ubuntu-latest
6767
needs: build
6868
steps:
69-
- name: Harden the runner (Audit all outbound calls)
69+
- name: Harden Runner
7070
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
7171
with:
7272
egress-policy: audit

0 commit comments

Comments
 (0)