-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (60 loc) · 1.45 KB
/
Copy pathrake.yml
File metadata and controls
60 lines (60 loc) · 1.45 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# SPDX-FileCopyrightText: 2025-2026 David Rabkin
# SPDX-License-Identifier: 0BSD
---
name: rake
'on':
pull_request:
paths: &paths
- '**/*.rb'
- bin/**
- Gemfile
- Gemfile.lock
- Rakefile
- '*.gemspec'
- .github/workflows/rake.yml
push:
branches: [master]
paths: *paths
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
rake:
strategy:
fail-fast: false
matrix:
os:
- macos-15
- macos-15-intel
- macos-26
- ubuntu-24.04
- ubuntu-24.04-arm
- windows-2022
- windows-2025
ruby:
- 3.2
- 3.3
- 3.4
include:
- os: ubuntu-24.04
ruby: head
bundler: default
name: Rake on ${{ matrix.os }} / Ruby ${{ matrix.ruby }}
runs-on: ${{ matrix.os }}
timeout-minutes: 15
continue-on-error: ${{ matrix.ruby == 'head' }}
env:
BUNDLE_VERSION: ${{ matrix.ruby == 'head' && 'system' || 'lockfile' }}
steps:
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- uses: ruby/setup-ruby@v1.321.0
with:
ruby-version: ${{ matrix.ruby }}
bundler: ${{ matrix.bundler || 'Gemfile.lock' }}
bundler-cache: true
- run: bundle exec rake