Skip to content

Commit

Permalink
Merge pull request #1307 from G-Rath/update-actions
Browse files Browse the repository at this point in the history
ci: update `actions/checkout` and disable persisted git credentials
  • Loading branch information
justin808 authored Sep 8, 2023
2 parents 230e3f6 + 24627a2 commit 2d41579
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ jobs:
ruby: ['2.7', '3.0']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
ruby: [2.7]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v3
- name: Save root node_modules to cache
uses: actions/cache@v3
Expand Down Expand Up @@ -66,7 +68,9 @@ jobs:
# having to do with automatic kwarg splatting
MT_KWARGS_HACK: 1
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v3
- run: npm -g install yalc
- run: yalc publish
Expand Down

0 comments on commit 2d41579

Please sign in to comment.