-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (33 loc) · 976 Bytes
/
default.yml
File metadata and controls
38 lines (33 loc) · 976 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
name: Default
# This workflow runs on all pushes to the repo so we can test changes and provide
# fast feedback.
on:
push:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
preflight_check:
name: Preflight Check
runs-on: ubuntu-latest
# do a matrix for ACTIVERECORD_VERSION of 6.1 and 7.0
strategy:
matrix:
activerecord_version:
- 6.1
- 7.0
steps:
# Need to fetch all refs, so we can check if the version has been bumped
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
env:
BUNDLE_REPOSERVER__W10EXTERNAL__COM: ${{ secrets.BUNDLE_REPOSERVER__W10EXTERNAL__COM }}
ACTIVERECORD: ${{ matrix.activerecord_version }}
- name: Test
run: bundle exec rake
env:
ACTIVERECORD: ${{ matrix.activerecord_version }}