File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ jobs:
1616 env :
1717 GITHUB_TOKEN : ${{ secrets.PAT }}
1818 steps :
19- - uses : actions/checkout@v3
19+ - uses : actions/checkout@v5
2020 with :
2121 fetch-depth : 0
2222 token : ${{ secrets.PAT }}
2323 - name : Install Knope
24- uses : knope-dev/action@v2.0 .0
24+ uses : knope-dev/action@v2.1 .0
2525 with :
2626 version : 0.10.0 # Test before updating, breaking changes likely: https://github.com/knope-dev/action#install-latest-version
2727 - run : |
Original file line number Diff line number Diff line change @@ -10,13 +10,10 @@ jobs:
1010 release :
1111 runs-on : ubuntu-22.04
1212 steps :
13- - uses : actions/checkout@v3
13+ - uses : actions/checkout@v5
1414 with :
1515 fetch-depth : 0
1616 token : ${{ secrets.PAT }}
17- - uses : actions-rs/toolchain@v1
18- with :
19- toolchain : stable
20- override : true
17+ - uses : dtolnay/rust-toolchain@stable
2118 - run : cargo publish --no-verify --manifest-path=lib/Cargo.toml --token ${{ secrets.CRATES_IO_TOKEN }}
2219
Original file line number Diff line number Diff line change @@ -10,11 +10,14 @@ jobs:
1010 test-linux :
1111 runs-on : ubuntu-22.04
1212 steps :
13- - uses : actions/checkout@v3
13+ - uses : actions/checkout@v5
1414 with :
1515 fetch-depth : 0
16+ # test that PAT works
17+ token : ${{ secrets.PAT }}
1618 - name : Install libquil dependencies
1719 run : sudo apt install -y libffi\* libblas\* liblapack\*
20+ - uses : dtolnay/rust-toolchain@stable
1821 - name : Install libquil
1922 run : |
2023 curl https://raw.githubusercontent.com/rigetti/libquil/main/install.sh | bash -s 0.3.0
@@ -26,11 +29,13 @@ jobs:
2629 test-macos :
2730 runs-on : macos-15-intel
2831 steps :
29- - uses : actions/checkout@v3
32+ - uses : actions/checkout@v5
3033 with :
3134 fetch-depth : 0
35+ token : ${{ secrets.PAT }}
3236 - name : Install libquil dependencies
3337 run : brew install lapack openblas
38+ - uses : dtolnay/rust-toolchain@stable
3439 - name : Install libquil
3540 run : ' curl https://raw.githubusercontent.com/rigetti/libquil/main/install.sh | bash -s 0.3.0'
3641 - name : Run tests
You can’t perform that action at this time.
0 commit comments