Skip to content

Switch to the concurrency flag in the CI actions #54

Switch to the concurrency flag in the CI actions

Switch to the concurrency flag in the CI actions #54

name: "[CI] Omniauth Tunnistamo"
on: [push, pull_request]
env:
CI: "true"
CODECOV: "true"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
main:
name: Tests
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: RSpec
run: bundle exec rspec
- uses: codecov/codecov-action@v3