Skip to content

Commit

Permalink
Add Status badge
Browse files Browse the repository at this point in the history
  • Loading branch information
whywaita committed Oct 18, 2024
1 parent 9955e32 commit 7ae97a1
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 20 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci-macos-14.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Test - macOS-14

on:
push:
branches: [ "main" ]
pull_request:
workflow_dispatch:

jobs:
test-macos-14:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-deno-with-cache
- id: test
run: deno test -A
- name: Run self
uses: ./
with:
success-on-miss: false
20 changes: 20 additions & 0 deletions .github/workflows/ci-macos-15.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Test - macOS-15

on:
push:
branches: [ "main" ]
pull_request:
workflow_dispatch:

jobs:
test-macos-15:
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-deno-with-cache
- id: test
run: deno test -A
- name: Run self
uses: ./
with:
success-on-miss: false
20 changes: 20 additions & 0 deletions .github/workflows/ci-macos-latest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Test - macOS-latest

on:
push:
branches: [ "main" ]
pull_request:
workflow_dispatch:

jobs:
test-macos-latest:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-deno-with-cache
- id: test
run: deno test -A
- name: Run self
uses: ./
with:
success-on-miss: false
20 changes: 1 addition & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,4 @@ jobs:
echo "Detected uncommitted changes after build. See status below:"
git diff
exit 1
fi
test:
strategy:
matrix:
os:
- macos-latest
- macos-14
- macos-15
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-deno-with-cache
- id: test
run: deno test -A
- name: Run self
uses: ./
with:
success-on-miss: false
fi
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# CyberAgent/action-is-installed-xcode

[![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)
| OS | Status |
| :----------: | :--------------------------------------------------------------------------------------------------------------: |
| macos-latest | [![CI](https://github.com/CyberAgent/action-is-installed-xcode/actions/workflows/ci-macos-latest.yml/badge.svg)] |
| macos-14 | [![CI](https://github.com/CyberAgent/action-is-installed-xcode/actions/workflows/ci-macos-14.yml/badge.svg)] |
| macos-15 | [![CI](https://github.com/CyberAgent/action-is-installed-xcode/actions/workflows/ci-macos-15.yml/badge.svg)] |

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

Expand Down

0 comments on commit 7ae97a1

Please sign in to comment.