Skip to content

Commit 71df592

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

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/macOS-tests.yml

+12-12
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,38 +23,38 @@ 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: |
4443
# 1. Make all automated fixes that are possible
4544
# 2. git diff to see what (if any) automated fixes were made
4645
# 3. See https://github.com/realm/SwiftLint#xcode explains why the double run
4746
swiftlint --fix --quiet && git diff && swiftlint --quiet
47+
- name: Install Foundry (includes anvil EVM)
48+
run: |
49+
curl -L https://foundry.paradigm.xyz | bash
50+
source ~/.bashrc
51+
foundryup
52+
- name: Start anvil in background
53+
run: ~/.foundry/bin/anvil -q &
4854
- name: Resolve dependencies
4955
run: swift package resolve
5056
- name: Build
5157
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
5858
- name: Run local tests
5959
run: swift test --skip-build -c debug --filter localTests
6060
- name: Run remote tests

0 commit comments

Comments
 (0)