.github/workflows/tests.yml in dopstick-0.0.6 vs .github/workflows/tests.yml in dopstick-0.0.7
- old
+ new
@@ -1,41 +1,39 @@
+---
name: Tests
on:
pull_request:
- branches:
- - main
push:
- branches:
- - main
+ workflow_dispatch:
+ inputs: {}
- schedule:
- - cron: "0 10 * * *"
-
jobs:
build:
name: Tests with Ruby ${{ matrix.ruby }} and ${{ matrix.gemfile }}
runs-on: "ubuntu-latest"
strategy:
fail-fast: false
matrix:
- ruby: [2.6.x, 2.7.x]
+ ruby: ["2.7", "3.0"]
gemfile:
- Gemfile
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2.4.0
- uses: actions/cache@v2
with:
path: vendor/bundle
key: >
- ${{ runner.os }}-${{ matrix.ruby }}-gems-${{ hashFiles(matrix.gemfile) }}
+ ${{ runner.os }}-${{ matrix.ruby }}-gems-${{
+ hashFiles(matrix.gemfile) }}
restore-keys: >
- ${{ runner.os }}-${{ matrix.ruby }}-gems-${{ hashFiles(matrix.gemfile) }}
+ ${{ runner.os }}-${{ matrix.ruby }}-gems-${{
+ hashFiles(matrix.gemfile) }}
- name: Set up Ruby
- uses: actions/setup-ruby@v1
+ uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install gem dependencies
env: