Skip to content

remove and ignore Gemfile.lock #8

remove and ignore Gemfile.lock

remove and ignore Gemfile.lock #8

Workflow file for this run

name: CI
on: push
jobs:
release-please:
name: Release Please
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
outputs:
release_created: ${{ steps.release-please.outputs.release_created }}
tag_name: ${{ steps.release-please.outputs.tag_name }} # e.g. v1.0.0
version: ${{ steps.release-please.outputs.version }} # e.g. 1.0.0
steps:
- uses: tibdex/github-app-token@v1
id: generate-github-token
with:
app_id: ${{ vars.RELEASE_PLEASE_GITHUB_APP_ID }}
private_key: ${{ secrets.RELEASE_PLEASE_GITHUB_APP_PRIVATE_KEY }}
- uses: krystal/release-please-manifest-action@v1
id: release-please
with:
token: ${{ steps.generate-github-token.outputs.token }}
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Install dependencies
run: bundle install
- name: Run linter
run: bin/rubocop
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby_version:
- 2.7
- 3.0
- 3.1
- 3.2
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
- name: Install dependencies
run: bundle install
- name: Run tests
run: bin/rspec