Upgrade to ruby 3 1 #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main CI | |
on: | |
push: | |
branches: | |
- '*' | |
tags-ignore: | |
- 'v*.*.*' | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
env: | |
GEM_VERSION: 0.0.0 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1 | |
- name: Install dependencies | |
run: bundle install | |
- name: Run tests | |
run: bundle exec rake test | |
- name: Build | |
run: gem build mapotempo_rubocop.gemspec | |
shell: bash | |
- name: Post build | |
run: ./.github/actions/post-build.sh | |
shell: bash |