Skip to content

Commit

Permalink
bump ci.yml and cd.yml dependencies (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
professor authored Jan 19, 2024
1 parent 7240307 commit 7f28586
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445
- uses: actions/checkout@v3
- name: Tag and Push Gem
id: tag-and-push-gem
uses: discourse/publish-rubygems-action@04549cca4eecd343acd215114ebbbdb99630af90
uses: discourse/publish-rubygems-action@v2
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GIT_EMAIL: ${{secrets.ALEX_GIT_EMAIL}}
GIT_NAME: ${{secrets.ALEX_GIT_NAME}}
GIT_EMAIL: ${{secrets.GUSTO_GIT_EMAIL}}
GIT_NAME: ${{secrets.GUSTO_GIT_NAME}}
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
- name: Create GitHub Release
run: gh release create v${{steps.tag-and-push-gem.outputs.gem_version}} --generate-notes
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ jobs:
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
- '3.0'
- 3.1
- 3.2
env:
BUNDLE_GEMFILE: Gemfile
name: "Minitest tests: Ruby ${{ matrix.ruby }}"
steps:
- uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@eae47962baca661befdfd24e4d6c34ade04858f7
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
Expand All @@ -29,9 +30,9 @@ jobs:
name: "Type Check"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@eae47962baca661befdfd24e4d6c34ade04858f7
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 3.1
Expand All @@ -41,9 +42,9 @@ jobs:
runs-on: ubuntu-latest
name: Rubocop
steps:
- uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@eae47962baca661befdfd24e4d6c34ade04858f7
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 3.1
Expand Down

0 comments on commit 7f28586

Please sign in to comment.