File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,31 +15,31 @@ jobs:
1515 name : Check
1616 runs-on : ubuntu-latest
1717 steps :
18- - uses : actions/checkout@v4
18+ - uses : actions/checkout@v7
1919 - uses : dtolnay/rust-toolchain@stable
2020 - run : cargo check
2121
2222 fmt :
2323 name : Format
2424 runs-on : ubuntu-latest
2525 steps :
26- - uses : actions/checkout@v4
26+ - uses : actions/checkout@v7
2727 - uses : dtolnay/rust-toolchain@stable
2828 - run : cargo fmt --check
2929
3030 clippy :
3131 name : Clippy
3232 runs-on : ubuntu-latest
3333 steps :
34- - uses : actions/checkout@v4
34+ - uses : actions/checkout@v7
3535 - uses : dtolnay/rust-toolchain@stable
3636 - run : cargo clippy
3737
3838 test :
3939 name : Test
4040 runs-on : ubuntu-latest
4141 steps :
42- - uses : actions/checkout@v4
42+ - uses : actions/checkout@v7
4343 - uses : dtolnay/rust-toolchain@stable
4444 - run : cargo test
4545
5050 os : [ubuntu-latest, windows-latest, macos-latest]
5151 runs-on : ${{ matrix.os }}
5252 steps :
53- - uses : actions/checkout@v4
53+ - uses : actions/checkout@v7
5454 - uses : dtolnay/rust-toolchain@stable
5555 - run : cargo build --release
Original file line number Diff line number Diff line change 1+ name : Dependabot auto-merge
2+ on : pull_request
3+
4+ permissions :
5+ contents : write
6+ pull-requests : write
7+
8+ jobs :
9+ auto-merge :
10+ runs-on : ubuntu-latest
11+ if : github.actor == 'dependabot[bot]'
12+ steps :
13+ - run : gh pr merge --auto --squash "$PR_URL"
14+ env :
15+ PR_URL : ${{ github.event.pull_request.html_url }}
16+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
17+ - run : gh pr review --approve "$PR_URL"
18+ env :
19+ PR_URL : ${{ github.event.pull_request.html_url }}
20+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 3636 - run : |
3737 mkdir -p artifacts
3838 cp target/${{ matrix.target }}/release/gitnibble${{ matrix.suffix }} artifacts/
39- - uses : actions/upload-artifact@v4
39+ - uses : actions/upload-artifact@v7
4040 with :
4141 name : gitnibble-${{ matrix.target }}
4242 path : artifacts/gitnibble${{ matrix.suffix }}
4747 runs-on : ubuntu-latest
4848 steps :
4949 - uses : actions/checkout@v4
50- - uses : actions/download-artifact@v4
50+ - uses : actions/download-artifact@v8
5151 with :
5252 pattern : gitnibble-*
5353 merge-multiple : true
You can’t perform that action at this time.
0 commit comments