2222 fail-fast : false
2323 matrix :
2424 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"]') }}
2526 type : ["brownie", "buidler", "dapp", "embark", "hardhat", "solc", "truffle", "waffle", "foundry", "standard", "vyper", "solc_multi_file", "hardhat_multi_file"]
2627 exclude :
2728 # Currently broken, tries to pull git:// which is blocked by GH
3233 # Explore foundry support in windows
3334 - os : windows-2022
3435 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
3545 steps :
3646 - uses : actions/checkout@v4
3747 - name : Set up shell
@@ -40,24 +50,23 @@ jobs:
4050 echo 'C:\msys64\mingw64\bin' >> "$GITHUB_PATH"
4151 echo 'C:\msys64\usr\bin' >> "$GITHUB_PATH"
4252 - name : Set up Node
43- uses : actions/setup-node@v3
53+ uses : actions/setup-node@v4
4454 with :
4555 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
4858 with :
49- python-version : 3.8
59+ python-version : ${{ matrix.python }}
5060 - name : Install dependencies
5161 run : |
52- pip install "solc-select>=v1.0.0b1"
53- solc-select use 0.5.7 --always-install
5462 pip install .
63+ solc-select use 0.5.7 --always-install
5564 - name : Set up nix
5665 if : matrix.type == 'dapp'
57- uses : cachix/install-nix-action@v23
66+ uses : cachix/install-nix-action@v24
5867 - name : Set up cachix
5968 if : matrix.type == 'dapp'
60- uses : cachix/cachix-action@v12
69+ uses : cachix/cachix-action@v13
6170 with :
6271 name : dapp
6372 - name : Install Foundry
0 commit comments