22
22
fail-fast : false
23
23
matrix :
24
24
os : ["ubuntu-latest", "windows-2022"]
25
+ python : ${{ (github.event_name == 'pull_request' && fromJSON('["3.8", "3.12"]')) || fromJSON('["3.8", "3.9", "3.10", "3.11", "3.12"]') }}
25
26
type : ["brownie", "buidler", "dapp", "embark", "hardhat", "solc", "truffle", "waffle", "foundry", "standard", "vyper", "solc_multi_file", "hardhat_multi_file"]
26
27
exclude :
27
28
# Currently broken, tries to pull git:// which is blocked by GH
32
33
# Explore foundry support in windows
33
34
- os : windows-2022
34
35
type : foundry
36
+ # brownie does not install correctly with Python 3.10
37
+ - python : 3.10
38
+ type : brownie
39
+ # brownie does not install correctly with Python 3.11
40
+ - python : 3.11
41
+ type : brownie
42
+ # brownie does not install correctly with Python 3.12
43
+ - python : 3.12
44
+ type : brownie
35
45
steps :
36
46
- uses : actions/checkout@v4
37
47
- name : Set up shell
@@ -40,24 +50,23 @@ jobs:
40
50
echo 'C:\msys64\mingw64\bin' >> "$GITHUB_PATH"
41
51
echo 'C:\msys64\usr\bin' >> "$GITHUB_PATH"
42
52
- name : Set up Node
43
- uses : actions/setup-node@v3
53
+ uses : actions/setup-node@v4
44
54
with :
45
55
node-version : 18.15
46
- - name : Set up Python 3.8
47
- uses : actions/setup-python@v4
56
+ - name : Set up Python ${{ matrix.python }}
57
+ uses : actions/setup-python@v5
48
58
with :
49
- python-version : 3.8
59
+ python-version : ${{ matrix.python }}
50
60
- name : Install dependencies
51
61
run : |
52
- pip install "solc-select>=v1.0.0b1"
53
- solc-select use 0.5.7 --always-install
54
62
pip install .
63
+ solc-select use 0.5.7 --always-install
55
64
- name : Set up nix
56
65
if : matrix.type == 'dapp'
57
- uses : cachix/install-nix-action@v23
66
+ uses : cachix/install-nix-action@v24
58
67
- name : Set up cachix
59
68
if : matrix.type == 'dapp'
60
- uses : cachix/cachix-action@v12
69
+ uses : cachix/cachix-action@v13
61
70
with :
62
71
name : dapp
63
72
- name : Install Foundry
0 commit comments