This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
* @knu
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: 'github-actions'
|
||||
directory: '/'
|
||||
schedule:
|
||||
interval: 'weekly'
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
name: test
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
ruby-versions:
|
||||
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
|
||||
with:
|
||||
engine: cruby
|
||||
min_version: 3.0
|
||||
|
||||
build:
|
||||
needs: ruby-versions
|
||||
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
|
||||
strategy:
|
||||
matrix:
|
||||
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
|
||||
os: [ ubuntu-latest, macos-latest ]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby }}
|
||||
- name: Install dependencies
|
||||
run: bundle install
|
||||
- name: Run test
|
||||
run: rake test
|
||||
Reference in New Issue
Block a user