Skip to content

Bump transmutation to 0.4.2 #103

Bump transmutation to 0.4.2

Bump transmutation to 0.4.2 #103

Workflow file for this run

name: Ruby
on:
push:
branches:
- "*"
jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- "3.2"
- "3.3"
- "ruby-head"
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rspec
- name: Run lint
run: bundle exec rubocop
release:
name: Publish gem to RubyGems.org
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main'
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
contents: write # IMPORTANT: this permission is required for `rake release` to push the release tag
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Release gem
uses: rubygems/release-gem@v1