Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
shunk031 committed Mar 2, 2024
1 parent 7b5c21e commit 4543d98
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/remote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
os: [ubuntu-latest, macOS-14]
system: [client, server]
exclude:
- os: macos-latest
- os: macOS-14
system: server

runs-on: ${{ matrix.os }}
Expand All @@ -22,8 +22,8 @@ jobs:
EMAIL_ADDRESS: ${{ secrets.EMAIL_ADDRESS }}
OS: ${{ matrix.os }}
SYSTEM: ${{ matrix.system }}
run: |
if [ "${OS}" == "macOS-latest" ]; then
run: |
if [ "${OS}" == "macOS-14" ]; then
printf '${EMAIL_ADDRESS}\n' | bash -c "$(curl -fsLS https://shunk031.me/dotfiles/setup.sh)"
# │
# └─ Simulate inputting an email address into the chezmoi's config.
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,28 @@ on:
branches: [master]
pull_request:
branches: [master]

jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
os: [ubuntu-latest, macOS-14]
system: [client, server]
exclude:
- os: macos-latest
- os: macos-14
system: server

runs-on: ${{ matrix.os }}
env:
OS: ${{ matrix.os }}
SYSTEM: ${{ matrix.system }}
OS: ${{ matrix.os }}
SYSTEM: ${{ matrix.system }}
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install tools
run: |
if [ "${OS}" == "macOS-latest" ]; then
if [ "${OS}" == "macOS-14" ]; then
brew install bats-core kcov parallel
elif [ "${OS}" == "ubuntu-latest" ]; then
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Set flag for codecov
run: |
if [ "${OS}" == "macOS-latest" ]; then
if [ "${OS}" == "macOS-14" ]; then
echo "flags=${OS}" >> $GITHUB_ENV
elif [ "${OS}" == "ubuntu-latest" ]; then
echo "flags=${OS}-${SYSTEM}" >> $GITHUB_ENV
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@ on:
push:
branches: [master]
paths-ignore:
- 'README.md'
- 'Makefile'
- 'Dockerfile'
- 'install/macos/**'
- '.chezmoiscripts/macos/**'
- 'dot_tmux.conf.d/os/macos.conf'
- 'tests/install/macos/**'
- "README.md"
- "Makefile"
- "Dockerfile"
- "install/macos/**"
- ".chezmoiscripts/macos/**"
- "dot_tmux.conf.d/os/macos.conf"
- "tests/install/macos/**"

pull_request:
branches: [master]
paths-ignore:
- 'README.md'
- 'Makefile'
- 'Dockerfile'
- 'install/macos/**'
- '.chezmoiscripts/macos/**'
- 'dot_tmux.conf.d/os/macos.conf'
- 'tests/install/macos/**'
- "README.md"
- "Makefile"
- "Dockerfile"
- "install/macos/**"
- ".chezmoiscripts/macos/**"
- "dot_tmux.conf.d/os/macos.conf"
- "tests/install/macos/**"

permissions:
contents: read
Expand Down

0 comments on commit 4543d98

Please sign in to comment.