Skip to content

Commit 88da841

Browse files
authored
Merge pull request #20 from moneyforward/fix_github_actions
fix github actions version
2 parents 047e430 + d6e7454 commit 88da841

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish_gem.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1515
- name: Tag with the gem version
1616
run: |
1717
GEM_VERSION=$(ruby -e "require 'rubygems'; gemspec = Dir.glob(\"./**/*.gemspec\").first; puts Gem::Specification::load(gemspec).version")

.github/workflows/rspec.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
ruby-version: ['2.7', '3.0', '3.1', '3.2']
1919

2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2222
- name: Set up Ruby
2323
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
2424
# change this to (see https://github.com/ruby/setup-ruby#versioning)
25-
uses: ruby/setup-ruby@v1
25+
uses: ruby/setup-ruby@922ebc4c5262cd14e07bb0e1db020984b6c064fe # v1.226.0
2626
with:
2727
ruby-version: ${{ matrix.ruby-version }}
2828
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

0 commit comments

Comments
 (0)