@@ -14,11 +14,11 @@ jobs:
1414          - 1.63.0  #  MSRV
1515    steps :
1616      - name : checkout 
17-         uses : actions/checkout@v2  
17+         uses : actions/checkout@v4  
1818      - name : Generate cache key 
1919        run : echo "${{ matrix.rust }} ${{ matrix.features }}" | tee .cache_key 
2020      - name : cache 
21-         uses : actions/cache@v2  
21+         uses : actions/cache@v4  
2222        with :
2323          path : | 
2424            ~/.cargo/registry 
@@ -38,49 +38,21 @@ jobs:
3838      - name : Pin dependencies for MSRV 
3939        if : matrix.rust == '1.63.0' 
4040        run : | 
41-           cargo update -p home:0.5.11 --precise 0.5.5 
42-           cargo update -p tokio:1.43.0 --precise 1.38.1 
41+           cargo update -p home --precise 0.5.5 
42+           cargo update -p tokio --precise 1.38.1 
43+           cargo update -p ring:0.17.14 --precise 0.17.8 
4344          cargo update -p cc --precise 1.0.105 
45+           cargo update -p flate2 --precise 1.0.35 
46+           cargo update -p once_cell --precise 1.20.3 
47+           cargo update -p bzip2-sys --precise 0.1.11+1.0.8 
48+           cargo update -p minreq --precise 2.12.0 
4449name : Build 
4550        run : cargo build 
4651      - name : Clippy 
4752        run : cargo clippy --all-targets -- -D warnings 
4853      - name : Test 
4954        run : cargo test 
5055
51-   check-wasm :
52-     name : Check WASM 
53-     runs-on : ubuntu-20.04 
54-     env :
55-       CC : clang-10 
56-       CFLAGS : -I/usr/include 
57-     steps :
58-       - name : Checkout 
59-         uses : actions/checkout@v2 
60-       - name : Cache 
61-         uses : actions/cache@v2 
62-         with :
63-           path : | 
64-             ~/.cargo/registry 
65-             ~/.cargo/git 
66-             target 
67- key : ${{ runner.os }}-cargo-${{ github.job }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }} 
68-         #  Install a recent version of clang that supports wasm32
69-       - run : wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - || exit 1 
70-       - run : sudo apt-add-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-10 main" || exit 1 
71-       - run : sudo apt-get update || exit 1 
72-       - run : sudo apt-get install -y libclang-common-10-dev clang-10 libc6-dev-i386 || exit 1 
73-       - name : Set default toolchain 
74-         run : rustup default 1.65.0  #  STABLE
75-       - name : Set profile 
76-         run : rustup set profile minimal 
77-       - name : Add target wasm32 
78-         run : rustup target add wasm32-unknown-unknown 
79-       - name : Update toolchain 
80-         run : rustup update 
81- #       - name: Check
82- #         run: cargo check --target wasm32-unknown-unknown
83- 
8456  fmt :
8557    name : Rust fmt 
8658    runs-on : ubuntu-latest 
0 commit comments