Skip to content

Commit 328c27f

Browse files
committed
👷 Tweaks to pr-checks.yml (now: validate-commit.yml)
1 parent a7842cf commit 328c27f

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed
Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PR Checks
1+
name: Validate commit
22

33
env:
44
# Base for the PR
@@ -8,13 +8,16 @@ env:
88
PR_HEAD_REPO: ${{ github.event.pull_request.head.repo.clone_url }}
99

1010
on:
11+
push:
12+
branches: [main]
1113
pull_request:
1214
types: [opened, synchronize, reopened]
15+
workflow_dispatch:
1316

1417
jobs:
1518
signoff-checks:
1619
name: signoff
17-
runs-on: ubuntu-latest
20+
runs-on: ubicloud-standard-16-arm
1821

1922
services:
2023
postgres:
@@ -66,7 +69,7 @@ jobs:
6669
otp-version: '27.x'
6770

6871
- name: Set up Node.js
69-
uses: actions/setup-node@v3
72+
uses: actions/setup-node@v4
7073
with:
7174
node-version: '20.11.0'
7275
cache: 'npm'
@@ -79,14 +82,14 @@ jobs:
7982
check-latest: true
8083

8184
- name: Cache Elixir deps
82-
uses: actions/cache@v3
85+
uses: actions/cache@v4
8386
with:
8487
path: deps
8588
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
8689
restore-keys: ${{ runner.os }}-mix-
8790

8891
- name: Cache build artifacts
89-
uses: actions/cache@v3
92+
uses: actions/cache@v4
9093
with:
9194
path: _build
9295
key: ${{ runner.os }}-build-${{ hashFiles('**/mix.lock') }}
@@ -102,7 +105,7 @@ jobs:
102105
run: MIX_ENV=prod mix compile --warnings-as-errors
103106

104107
- name: Run Elixir tests
105-
run: mix test --max-cases 2 # slow actions runner
108+
run: mix test --max-cases 16
106109

107110
- name: Run CLI tests
108111
run: |

0 commit comments

Comments
 (0)