-
Notifications
You must be signed in to change notification settings - Fork 128
48 lines (45 loc) · 1.21 KB
/
pull_request.yml
File metadata and controls
48 lines (45 loc) · 1.21 KB
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
name: Pull Request CI
on:
push:
pull_request:
merge_group:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
# https://www.ruby-lang.org/en/downloads/branches/
ruby:
- '3.2'
- '3.3'
- '3.4'
- '4.0'
name: Ruby v${{ matrix.ruby }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
submodules: true
- uses: ruby/setup-ruby@4eb9f110bac952a8b68ecf92e3b5c7a987594ba6 # v1.292.0
with:
ruby-version: ${{ matrix.ruby }}
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
distribution: 'temurin'
java-version: 17
architecture: x64
- run: bundle install
- run: python3 generate-code.py
- run: bundle exec rake ci
pinact:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Run pinact
uses: suzuki-shunsuke/pinact-action@1081f5ad49ac904b7d977784f338145150a32112 # v1.4.0
with:
skip_push: "true"