Skip to content

Commit 178f7d8

Browse files
committed
update github-actions
- updated `.github/workflows/ci.yaml` to use rust 1.78 instead of 1.62, since the llvm-tools change happened in 1.67. - updated ubuntu 20.04 to 22.04 - updated actions/checkout from v2 to v4 - updated actions/cache from v1 to v4 - updated peaceiris/actions-gh-pages from v3 to v4
1 parent 4958b7f commit 178f7d8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,37 +7,37 @@ on:
77

88
jobs:
99
build:
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-22.04
1111

1212
continue-on-error: ${{ matrix.experimental || false }}
1313

1414
strategy:
1515
matrix:
1616
rust:
17-
- 1.62.0
17+
- 1.78.0
1818
- nightly
1919
include:
2020
- rust: nightly
2121
experimental: true
2222

2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v4
2525

2626
- name: Install Rust
2727
uses: actions-rs/toolchain@v1
2828
with:
2929
profile: minimal
3030
toolchain: ${{ matrix.rust }}
3131
override: true
32-
components: rustfmt, clippy, llvm-tools-preview
32+
components: rustfmt, clippy, llvm-tools
3333
target: thumbv7m-none-eabi
3434

3535
- name: Install Python dependencies
3636
run: |
3737
pip3 install --user python-dateutil linkchecker
3838
3939
- name: Cache installed binaries
40-
uses: actions/cache@v1
40+
uses: actions/cache@v4
4141
id: cache-bin
4242
with:
4343
path: ~/cache-bin
@@ -84,17 +84,17 @@ jobs:
8484
RUST_VERSION: ${{ matrix.rust }}
8585

8686
deploy:
87-
runs-on: ubuntu-20.04
87+
runs-on: ubuntu-22.04
8888

8989
needs: [build]
9090

9191
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
9292

9393
steps:
94-
- uses: actions/checkout@v2
94+
- uses: actions/checkout@v4
9595

9696
- name: Cache installed binaries
97-
uses: actions/cache@v1
97+
uses: actions/cache@v4
9898
id: cache-bin
9999
with:
100100
path: ~/cache-bin
@@ -107,7 +107,7 @@ jobs:
107107
run: mdbook build
108108

109109
- name: Deploy book
110-
uses: peaceiris/actions-gh-pages@v3
110+
uses: peaceiris/actions-gh-pages@v4
111111
with:
112112
github_token: ${{ secrets.GITHUB_TOKEN }}
113113
publish_dir: book

0 commit comments

Comments
 (0)