Skip to content

Commit e1c1d8f

Browse files
ci/cd pipeline updated
- macOS-14 - Xcode updated to 15.2
1 parent 90311ee commit e1c1d8f

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

.github/workflows/macOS-tests.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "macOS 12"
1+
name: "macOS 13"
22

33
on:
44
push:
@@ -23,21 +23,20 @@ on:
2323
- develop-4.0
2424

2525
env:
26-
DEVELOPER_DIR: /Applications/Xcode_14.1.app/Contents/Developer
26+
DEVELOPER_DIR: /Applications/Xcode_15.2.app/Contents/Developer
2727

2828
jobs:
2929
spm:
30-
name: Swift Package Manager 5.7
31-
runs-on: macOS-12
30+
name: Swift Package Manager 5.9
31+
runs-on: macos-13
3232
concurrency:
3333
group: spm-${{ github.run_id }}
3434
cancel-in-progress: false
3535
steps:
3636
- uses: actions/checkout@v3
3737
- name: Discover typos
3838
run: |
39-
pip3 install --upgrade pip
40-
pip3 install codespell
39+
pipx install codespell
4140
codespell # See .codespellrc for args
4241
- name: SwiftLint
4342
run: |
@@ -49,12 +48,10 @@ jobs:
4948
run: swift package resolve
5049
- name: Build
5150
run: swift build --build-tests
52-
- name: Install ganache
53-
run: npm install ganache --global
54-
- name: Start ganache in background
55-
run: ganache &
56-
- name: Wait till ganache starts
57-
run: sleep 1
51+
- name: Install anvil (foundry's EVM)
52+
run: curl -L https://foundry.paradigm.xyz | bash
53+
- name: Start anvil in background
54+
run: anvil &
5855
- name: Run local tests
5956
run: swift test --skip-build -c debug --filter localTests
6057
- name: Run remote tests

0 commit comments

Comments
 (0)