Skip to content

Commit d4df53f

Browse files
committed
Add GitHub actions
1 parent 307f46e commit d4df53f

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

Diff for: .github/dependabot.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"

Diff for: .github/workflows/test.yaml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
name: test
3+
4+
on: [ push, pull_request ]
5+
6+
jobs:
7+
8+
test:
9+
10+
if: " ! (contains(github.event.head_commit.message, 'skip ci') || contains(github.event.head_commit.message, 'ci skip'))"
11+
12+
name: ${{matrix.ruby}} on ${{matrix.os}}
13+
14+
strategy:
15+
matrix:
16+
os: [ ubuntu-latest ]
17+
ruby: [
18+
'3.1', '3.2', '3.3', '3.4',
19+
'jruby-9.4',
20+
'truffleruby-22.3' ]
21+
experimental: [ false ]
22+
fail-fast: false
23+
runs-on: ${{matrix.os}}
24+
continue-on-error: ${{matrix.experimental}}
25+
26+
steps:
27+
- uses: actions/checkout@v4
28+
- uses: ruby/setup-ruby@v1
29+
with:
30+
ruby-version: ${{matrix.ruby}}
31+
bundler-cache: true
32+
- run: ruby --version
33+
- run: gem --version
34+
- run: bundle --version
35+
- run: bundle exec proba --no-color
36+

0 commit comments

Comments
 (0)