Skip to content

Commit 11b8014

Browse files
authored
refactor: remove mdBook & use assert_path_exists (#47)
* build: remove mdBook & use `assert_path_exists` * chore: update runner images * Update tests.yml
1 parent 8a51ca4 commit 11b8014

5 files changed

Lines changed: 6 additions & 26 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
pr-pull:
88
if: contains(github.event.pull_request.labels.*.name, 'pr-pull')
9-
runs-on: ubuntu-22.04
9+
runs-on: ubuntu-24.04
1010
permissions:
1111
contents: write
1212
packages: write

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
test-bot:
99
strategy:
1010
matrix:
11-
os: [ubuntu-22.04, macos-13]
11+
os: [ubuntu-24.04, macos-26]
1212
runs-on: ${{ matrix.os }}
1313
steps:
1414
- name: Set up Homebrew
@@ -17,7 +17,7 @@ jobs:
1717

1818
- name: Cache Homebrew Bundler RubyGems
1919
id: cache
20-
uses: actions/cache@v4
20+
uses: actions/cache@v5
2121
with:
2222
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
2323
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Upload bottles as artifact
3636
if: always() && github.event_name == 'pull_request'
37-
uses: actions/upload-artifact@v4
37+
uses: actions/upload-artifact@v7
3838
with:
3939
name: bottles_${{ matrix.os }}
4040
path: '*.bottle.*'

Formula/catwalk.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ def install
2121
end
2222

2323
test do
24-
assert_predicate (bin/"catwalk"), :exist?
24+
assert_path_exists (bin/"catwalk"), :exist?
2525
end
2626
end

Formula/mdbook-catppuccin.rb

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

Formula/whiskers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ def install
1919
end
2020

2121
test do
22-
assert_predicate (bin/"whiskers"), :exist?
22+
assert_path_exists (bin/"whiskers"), :exist?
2323
end
2424
end

0 commit comments

Comments
 (0)