Skip to content

Commit

Permalink
Update workflowa
Browse files Browse the repository at this point in the history
  • Loading branch information
weppos committed Jul 24, 2022
1 parent 5e3379b commit 0a0ad7d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/psl-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3

- name: Set up Ruby
uses: ruby/setup-ruby@v1
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release
name: Release

on:
push:
Expand All @@ -9,7 +9,8 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3
- name: Release Gem
uses: cadwallion/publish-rubygems-action@8f9e0538302643309e4e43bf48cd34173ca48cfc
env:
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:

jobs:
build:
test:
strategy:
matrix:
ruby-version:
Expand All @@ -16,12 +16,14 @@ jobs:
- "3.1"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # 'bundle install' and cache gems
- run: bundle exec rake rubocop
bundler-cache: true
- name: Rubocop
run: bundle exec rake rubocop
- name: Run tests
run: bundle exec rake test

0 comments on commit 0a0ad7d

Please sign in to comment.