Skip to content

Commit a47c087

Browse files
authored
Merge pull request #1 from CyberAgent/feat/separate-os
Add Status badge
2 parents 9955e32 + e16467b commit a47c087

File tree

5 files changed

+66
-20
lines changed

5 files changed

+66
-20
lines changed

.github/workflows/ci-macos-14.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Test - macOS-14
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
workflow_dispatch:
8+
9+
jobs:
10+
test-macos-14:
11+
runs-on: macos-14
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: ./.github/actions/setup-deno-with-cache
15+
- id: test
16+
run: deno test -A
17+
- name: Run self
18+
uses: ./
19+
with:
20+
success-on-miss: false

.github/workflows/ci-macos-15.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Test - macOS-15
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
workflow_dispatch:
8+
9+
jobs:
10+
test-macos-15:
11+
runs-on: macos-15
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: ./.github/actions/setup-deno-with-cache
15+
- id: test
16+
run: deno test -A
17+
- name: Run self
18+
uses: ./
19+
with:
20+
success-on-miss: false
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Test - macOS-latest
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
workflow_dispatch:
8+
9+
jobs:
10+
test-macos-latest:
11+
runs-on: macos-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: ./.github/actions/setup-deno-with-cache
15+
- id: test
16+
run: deno test -A
17+
- name: Run self
18+
uses: ./
19+
with:
20+
success-on-miss: false

.github/workflows/ci.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,4 @@ jobs:
2929
echo "Detected uncommitted changes after build. See status below:"
3030
git diff
3131
exit 1
32-
fi
33-
test:
34-
strategy:
35-
matrix:
36-
os:
37-
- macos-latest
38-
- macos-14
39-
- macos-15
40-
fail-fast: false
41-
runs-on: ${{ matrix.os }}
42-
steps:
43-
- uses: actions/checkout@v4
44-
- uses: ./.github/actions/setup-deno-with-cache
45-
- id: test
46-
run: deno test -A
47-
- name: Run self
48-
uses: ./
49-
with:
50-
success-on-miss: false
32+
fi

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# CyberAgent/action-is-installed-xcode
22

3-
[![CI](https://github.com/CyberAgent/action-is-installed-xcode/actions/workflows/ci.yml/badge.svg)](https://github.com/CyberAgent/action-is-installed-xcode/actions/workflows/ci.yml)
3+
| OS | Status |
4+
| :----------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
5+
| macos-latest | [![Test - macOS-latest](https://github.com/CyberAgent/action-is-installed-xcode/actions/workflows/ci-macos-latest.yaml/badge.svg)](https://github.com/CyberAgent/action-is-installed-xcode/actions/workflows/ci-macos-latest.yaml) |
6+
| macos-14 | [![Test - macOS-14](https://github.com/CyberAgent/action-is-installed-xcode/actions/workflows/ci-macos-14.yaml/badge.svg)](https://github.com/CyberAgent/action-is-installed-xcode/actions/workflows/ci-macos-14.yaml) |
7+
| macos-15 | [![Test - macOS-15](https://github.com/CyberAgent/action-is-installed-xcode/actions/workflows/ci-macos-15.yaml/badge.svg)](https://github.com/CyberAgent/action-is-installed-xcode/actions/workflows/ci-macos-15.yaml) |
48

59
CyberAgent/action-is-installed-xcode checks to see if the same Xcode version as GitHub-hosted is installed.
610

0 commit comments

Comments
 (0)