Skip to content

Commit

Permalink
Merge pull request #60 from WFCD/ci-enhancment
Browse files Browse the repository at this point in the history
CI enhancment
  • Loading branch information
aj-rom authored Dec 30, 2021
2 parents 711056b + 2a03df9 commit ceb5149
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ on:

jobs:
release-please:

# Run on latest ubuntu distribution
runs-on: ubuntu-latest

# Enviroment Variables
env:
GEM_NAME: "warframe"
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}

steps:
# start release-please
- uses: GoogleCloudPlatform/release-please-action@v2
Expand All @@ -25,18 +25,16 @@ jobs:
package-name: ${{ env.GEM_NAME }}
bump-minor-pre-major: true
version-file: "lib/${{ env.GEM_NAME }}/version.rb"
# Check out this repo.

# Check out this repo.
- uses: actions/checkout@v2
if: ${{ steps.release.outputs.release_created }}

# Set up ruby.
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
if: ${{ steps.release.outputs.release_created }}

# Build and push to rubygems.org
# Build and push to rubygems.org
- name: Release Gem
run: |
gem install bundler
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
- uses: actions/checkout@v1
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
bundler-cache: false
- uses: reviewdog/action-rubocop@v2
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
ruby: [ '2.5', '2.6', '3.0', '3.1' ]
steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.1.0

0 comments on commit ceb5149

Please # to comment.