Skip to content

Commit

Permalink
testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jollopre committed Nov 27, 2023
1 parent b524230 commit 3215ab7
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/gem-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,35 @@ on:

jobs:
build:
name: Build + Publish
name: Build
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Ruby 3.2.2
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.2

- name: Install dependencies
run: bundle install

- name: Run tests
run: bundle exec rspec

publish:
needs: build
name: Publish
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- uses: actions/checkout@v4
- name: Set up Ruby 3.2.2
uses: ruby/setup-ruby@v1
with:
Expand Down

0 comments on commit 3215ab7

Please sign in to comment.