-
Notifications
You must be signed in to change notification settings - Fork 51
49 lines (45 loc) · 1011 Bytes
/
ci.yml
File metadata and controls
49 lines (45 loc) · 1011 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
47
48
49
name: CI
on:
push:
branches:
- main
tags:
- v*.*.*
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
markdown-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v6
- name: Run markdownlint-cli
uses: nosborn/github-action-markdown-cli@v3.5.0
with:
files: .
config_file: ".markdownlint.yaml"
test:
name: Ruby ${{ matrix.ruby-version }}
runs-on: ubuntu-latest
needs:
- markdown-lint
strategy:
matrix:
ruby-version:
- '3.2'
- '3.3'
- '3.4'
- '4.0'
- 'ruby-head'
- 'truffleruby-head'
steps:
- uses: actions/checkout@v6
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- run: bundle exec rake