forked from Miscend/codex-rebuilder
-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (32 loc) · 937 Bytes
/
test.yml
File metadata and controls
40 lines (32 loc) · 937 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
name: Test Homebrew Cask
on:
push:
branches:
- master
pull_request:
branches:
- master
permissions:
contents: read
jobs:
test-cask:
name: Test Homebrew Cask
runs-on: macos-15-intel
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@main
- name: Cache Homebrew Bundler RubyGems
id: cache
uses: actions/cache@v5
with:
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
restore-keys: ${{ runner.os }}-rubygems-
- name: Install Homebrew Bundler RubyGems
if: steps.cache.outputs.cache-hit != 'true'
run: brew install-bundler-gems
- name: Run Cask tests
run: bash scripts/test_cask.sh