-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (41 loc) · 1007 Bytes
/
main.yml
File metadata and controls
46 lines (41 loc) · 1007 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: CI
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }} / Bundler ${{ matrix.bundler }}
strategy:
fail-fast: false
matrix:
include:
- ruby: "3.2"
bundler: "2.4"
- ruby: "3.2"
bundler: "2.5"
- ruby: "3.3"
bundler: "default"
- ruby: "3.4"
bundler: "default"
- ruby: "4.0"
bundler: "4.0.4"
steps:
- uses: actions/checkout@v6.0.2
with:
persist-credentials: false
- name: Set up Ruby
uses: ruby/setup-ruby@v1.288.0
with:
ruby-version: ${{ matrix.ruby }}
bundler: ${{ matrix.bundler }}
bundler-cache: true
- name: Run the default task
run: bundle exec rake