Skip to content

Commit

Permalink
Updates to primary GH actions pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
arothian committed Apr 21, 2021
1 parent 124effd commit e51fe56
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/gempush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,18 @@ jobs:
commit:
name: Commit
runs-on: ubuntu-latest
strategy:
fail-fast: false # Allows both ruby versions to run before failing
matrix:
ruby: ['2.5', '3.0']

steps:
- uses: actions/checkout@master
- name: Set up Ruby 2.5
uses: actions/setup-ruby@v1
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5.x
- name: Install Bundler
run: gem install bundler
- name: Which bundler?
run: bundle -v
- name: Bundle install
run: bundle check || bundle install
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
#- name: Rubocop lint
# run: bundle exec rubocop -D
- name: Rspec tests
Expand All @@ -44,7 +43,7 @@ jobs:
rubygems_api_key: ${{secrets.rubygems_api_key}}
- name: Create release with changelog
id: gh_release
uses: release-drafter/release-drafter@f677696
uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down

0 comments on commit e51fe56

Please sign in to comment.