Skip to content

chore(deps): update rust crate reqwest to 0.11.22 #1342

chore(deps): update rust crate reqwest to 0.11.22

chore(deps): update rust crate reqwest to 0.11.22 #1342

Workflow file for this run

on:
push:
branches:
- main
pull_request:
name: Tests
jobs:
test:
name: ${{matrix.rust}} on ${{matrix.os}}
runs-on: ${{matrix.os}}
strategy:
matrix:
rust: [1.70.0, stable]
os: [ubuntu-20.04]
env:
RUSTFLAGS: ''
CARGO_PROFILE_DEV_DEBUG: '0' # reduce size of target directory
steps:
- name: Checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Toolchain
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
with:
profile: minimal
components: clippy, rustfmt
toolchain: ${{matrix.rust}}
override: true
- name: Cache
uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2.7.0
- name: Format
uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
with:
command: fmt
args: -- --check
- name: Build
uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
with:
command: build
args: --release --all-targets
- name: Clippy
uses: actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d # v1.0.7
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --release --all-targets -- -D warnings -A clippy::too_many_arguments
- name: Test
uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
with:
command: test
args: --release
- name: WASM pkg
run: |
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
cd ./star-wasm
make build
- name: WASM www
run: |
cd ./star-wasm/www
make