File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 2222 BASE_SHA : ${{ github.event.pull_request.base.sha }}
2323 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2424 steps :
25- - uses : actions/checkout@v4
25+ - uses : actions/checkout@v5
2626 with :
2727 # linkcheck needs the base commit.
2828 fetch-depth : 0
8383 git commit -m "Deploy ${GITHUB_SHA} to gh-pages"
8484 git push --quiet -f "https://x-token:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}" HEAD:gh-pages
8585
86+ - name : Cache sembr build
87+ uses : actions/cache@v4
88+ with :
89+ path : |
90+ ~/.cargo/registry/index/
91+ ~/.cargo/registry/cache/
92+ ~/.cargo/git/db/
93+ ci/sembr/target/
94+ key : sembr-${{ hashFiles('ci/sembr/Cargo.lock') }}
95+
8696 - name : Check if files comply with semantic line breaks
8797 continue-on-error : true
8898 run : |
8999 # using split_inclusive that uses regex feature that uses an unstable feature
90- RUSTC_BOOTSTRAP=1 cargo run --manifest-path ci/sembr/Cargo.toml src
100+ RUSTC_BOOTSTRAP=1 cargo run --release -- manifest-path ci/sembr/Cargo.toml src
Original file line number Diff line number Diff line change 1515
1616 steps :
1717 - name : Checkout repo
18- uses : actions/checkout@v4
18+ uses : actions/checkout@v5
1919
2020 - name : Ensure Rust is up-to-date
2121 run : |
You can’t perform that action at this time.
0 commit comments