fix(deps): Bump hyper to fix CVE-2022-31394 #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run CI | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- '**.md' # Do not need to run CI for markdown changes. | |
pull_request: | |
branches: [ main ] | |
paths-ignore: | |
- '**.md' | |
jobs: | |
ci-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # If you only need the current version keep this. | |
- name: Setup rust tooling | |
run: | | |
rustup override set 1.68 | |
rustup component add rustfmt clippy | |
- uses: ./.github/actions/ci | |
- name: 'Run contract tests with hyper_rustls' | |
uses: ./.github/actions/contract-tests | |
with: | |
tls_feature: 'rustls' | |
- name: 'Run contract tests with hyper_tls' | |
uses: ./.github/actions/contract-tests | |
with: | |
tls_feature: 'tls' | |
- uses: ./.github/actions/build-docs | |
musl-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # If you only need the current version keep this. | |
- name: Setup rust tooling | |
run: | | |
rustup override set 1.68 | |
rustup component add rustfmt clippy | |
rustup target add x86_64-unknown-linux-musl | |
- name: Install musl tools | |
run: sudo apt-get update && sudo apt-get install -y musl-tools | |
- name: Build | |
run: TARGET_CC=musl-gcc RUSTFLAGS="-C linker=musl-gcc" cargo build --release --target=x86_64-unknown-linux-musl |