-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (42 loc) · 988 Bytes
/
test.yml
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
name: test
on:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
ci:
strategy:
fail-fast: false
matrix:
ruby: [3.2, 3.3]
platform:
- { os: ubuntu, target: linux-x64 }
runs-on: ${{ matrix.platform.os }}-latest
steps:
- uses: actions/checkout@v3
- name: setup ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install just
uses: taiki-e/install-action@v2
with:
tool: just,typos
- name: typos
run: just typos
- name: setup
run: just setup
- name: lint
run: just lint
- name: test
run: just test
- name: examples
run: just examples
- name: doc
run: just doc
- name: package gem
run: just gem