Skip to content

Commit 983c49e

Browse files
committed
Merge #1234: ci: Move from cirrus to GHA
9056c41 ci: Move from cirrus to GHA (MarcoFalke) Pull request description: According to https://cirruslabs.org/, [Cirrus CI](https://github.com/cirruslabs/cirrus-ci-docs) will shut down effective Monday, June 1, 2026. So move the container-based yaml config to GHA. ACKs for top commit: achow101: ACK 9056c41 Tree-SHA512: 61f21bdf83518f411154f0bf9b4fcbd8bce45fb43cbd3c631124356210d92454b0608ae914bc3658ba8ed1f80df2d9779541383a3b6f6f52ca21944aa915b842
2 parents d4f11d0 + 9056c41 commit 983c49e

2 files changed

Lines changed: 74 additions & 55 deletions

File tree

.cirrus.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
env:
8+
JEKYLL_ENV: production
9+
NOKOGIRI_USE_SYSTEM_LIBRARIES: true # speeds up installation of html-proofer
10+
RUBYOPT: "-KU -E utf-8:utf-8"
11+
jobs:
12+
bundler:
13+
runs-on: ubuntu-latest
14+
container:
15+
image: ruby:3.1.2
16+
steps:
17+
- uses: actions/checkout@v6
18+
19+
- name: Install bundler
20+
run: gem install bundler
21+
22+
- name: Install gems
23+
run: bundle install
24+
25+
- name: Build and test
26+
run: make all
27+
28+
debian-only:
29+
runs-on: ubuntu-latest
30+
container:
31+
image: debian:bookworm
32+
steps:
33+
- uses: actions/checkout@v6
34+
35+
- name: Install packages
36+
run: |
37+
apt-get update
38+
apt-get install -y \
39+
curl \
40+
jekyll \
41+
make \
42+
ruby \
43+
ruby-jekyll-redirect-from \
44+
ruby-kramdown-parser-gfm \
45+
ruby-html-proofer
46+
47+
- name: Build and test
48+
run: |
49+
rm Gemfile.lock
50+
make all
51+
52+
verify-commits:
53+
runs-on: ubuntu-latest
54+
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
55+
container:
56+
image: debian:latest
57+
steps:
58+
- uses: actions/checkout@v6
59+
with:
60+
fetch-depth: 0
61+
62+
- name: Install packages
63+
run: |
64+
apt-get update
65+
apt-get install -y \
66+
git \
67+
gnupg
68+
69+
- name: Verify commits
70+
shell: bash
71+
run: |
72+
mapfile -t KEYS < contrib/verify-commits/trusted-keys
73+
gpg --keyserver hkps://keys.openpgp.org --recv-keys "${KEYS[@]}"
74+
./contrib/verify-commits/verify-commits.sh

0 commit comments

Comments
 (0)