-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (33 loc) · 920 Bytes
/
ci.yaml
File metadata and controls
35 lines (33 loc) · 920 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
name: ci.yml – Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
build:
name: "Test with Jekyll ${{ matrix.jekyll }}"
runs-on: "ubuntu-latest"
strategy:
matrix:
jekyll: ["~> 4.3.4"]
env:
JEKYLL_VERSION: ${{ matrix.jekyll }}
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
with:
egress-policy: audit
- name: Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set Up Ruby 3.3.6
uses: ruby/setup-ruby@28c4deda893d5a96a6b2d958c5b47fc18d65c9d3 # v1.213.0
with:
ruby-version: 3.3.6
bundler-cache: true
- name: Run tests
run: script/cibuild