File tree 1 file changed +12
-12
lines changed
1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 1
- name : " macOS 12 "
1
+ name : " macOS 13 "
2
2
3
3
on :
4
4
push :
23
23
- develop-4.0
24
24
25
25
env :
26
- DEVELOPER_DIR : /Applications/Xcode_14.1 .app/Contents/Developer
26
+ DEVELOPER_DIR : /Applications/Xcode_15.2 .app/Contents/Developer
27
27
28
28
jobs :
29
29
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
32
32
concurrency :
33
33
group : spm-${{ github.run_id }}
34
34
cancel-in-progress : false
35
35
steps :
36
36
- uses : actions/checkout@v3
37
37
- name : Discover typos
38
38
run : |
39
- pip3 install --upgrade pip
40
- pip3 install codespell
39
+ pipx install codespell
41
40
codespell # See .codespellrc for args
42
41
- name : SwiftLint
43
42
run : |
44
43
# 1. Make all automated fixes that are possible
45
44
# 2. git diff to see what (if any) automated fixes were made
46
45
# 3. See https://github.com/realm/SwiftLint#xcode explains why the double run
47
46
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 &
48
54
- name : Resolve dependencies
49
55
run : swift package resolve
50
56
- name : Build
51
57
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
58
58
- name : Run local tests
59
59
run : swift test --skip-build -c debug --filter localTests
60
60
- name : Run remote tests
You can’t perform that action at this time.
0 commit comments