-
Notifications
You must be signed in to change notification settings - Fork 11
41 lines (41 loc) · 1.08 KB
/
polymorphic.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
name: polymorphic
on:
workflow_dispatch:
push:
pull_request:
types:
- opened
- reopened
jobs:
test:
env:
WORKING_DIRECTORY: examples/polymorphic
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- run: test -e Gemfile.lock
working-directory: ${{ env.WORKING_DIRECTORY }}
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.2
bundler-cache: true
working-directory: ${{ env.WORKING_DIRECTORY }}
- run: make test
working-directory: ${{ env.WORKING_DIRECTORY }}
mutate:
env:
WORKING_DIRECTORY: examples/polymorphic
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- run: test -e Gemfile.lock
working-directory: ${{ env.WORKING_DIRECTORY }}
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.2
bundler-cache: true
working-directory: ${{ env.WORKING_DIRECTORY }}
- run: make mutate
working-directory: ${{ env.WORKING_DIRECTORY }}