-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (41 loc) · 996 Bytes
/
Copy pathci.yml
File metadata and controls
44 lines (41 loc) · 996 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
39
40
41
42
43
44
name: CI
on:
push:
branches: [main]
paths-ignore:
- "**/*.md"
- "site/**"
- "docs/**"
- ".github/ISSUE_TEMPLATE/**"
- ".github/PULL_REQUEST_TEMPLATE.md"
- ".github/CODEOWNERS"
pull_request:
paths-ignore:
- "**/*.md"
- "site/**"
- "docs/**"
- ".github/ISSUE_TEMPLATE/**"
- ".github/PULL_REQUEST_TEMPLATE.md"
- ".github/CODEOWNERS"
jobs:
test:
name: RSpec (Ruby 3.4)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.4"
bundler-cache: true
# Default rspec excludes :real_data specs — no network in CI.
- run: bundle exec rspec
lint:
name: RuboCop
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.4"
bundler-cache: true
- run: bundle exec rubocop --format github