Skip to content

Merge pull request #195 from maxmind/wstorey/test-ruby-4.0 #266

Merge pull request #195 from maxmind/wstorey/test-ruby-4.0

Merge pull request #195 from maxmind/wstorey/test-ruby-4.0 #266

Workflow file for this run

name: Release
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
release:
types:
- published
jobs:
push:
if: github.event_name == 'release' && github.event.action == 'published'
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
# zizmor complains that 'v1' is a ref that can be provided by both the branch and tag namespaces.
# specify that we want the v1 branch.
- name: Set up Ruby
uses: ruby/setup-ruby@90be1154f987f4dc0fe0dd0feedac9e473aa4ba8 # 1.286.0
with:
ruby-version: ruby
- run: bundle install
env:
BUNDLE_FROZEN: true
# zizmor complains that 'v1' is a ref that can be provided by both the branch and tag namespaces.
# specify that we want the v1 branch.
- uses: rubygems/release-gem@1c162a739e8b4cb21a676e97b087e8268d8fc40b # 1.1.2