diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c90579e..b83be26 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,12 +1,19 @@ name: Ruby on: + workflow_dispatch: push: branches: - - main + - master + - dev + pull_request: +concurrency: + group: ${{ github.sha }} + cancel-in-progress: true + jobs: build: runs-on: ubuntu-latest @@ -14,7 +21,8 @@ jobs: strategy: matrix: ruby: - - '3.2.2' + - '2.7.0' + - '3.0.0' steps: - uses: actions/checkout@v3 @@ -24,4 +32,4 @@ jobs: ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Run the default task - run: bundle exec rake + run: bundle exec rake \ No newline at end of file