deps(rust): bump bytes from 1.10.0 to 1.10.1 #121
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: CI | |
# Trigger the workflow on push or pull request | |
on: | |
pull_request: | |
branches: | |
- main | |
- stable-0.1.x | |
- stable-0.2.x | |
- stable-0.3.x | |
- stable-0.4.x | |
- stable-0.5.x | |
- stable-0.6.x | |
- stable-0.7.x | |
- stable-0.8.x | |
- stable-0.9.x | |
env: | |
SCCACHE_GHA_ENABLED: "true" | |
RUSTC_WRAPPER: "sccache" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup sccache | |
uses: mozilla-actions/[email protected] | |
with: | |
version: "v0.4.2" | |
- name: Cache Cargo | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/registry | |
~/.cargo/git | |
target | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
restore-keys: | | |
${{ runner.os }}-cargo- | |
- name: Install dependencies | |
run: | | |
sudo apt-get update && \ | |
sudo apt-get install -y \ | |
libpam0g-dev \ | |
libudev-dev \ | |
libssl-dev \ | |
pkg-config \ | |
tpm-udev \ | |
libtss2-dev \ | |
libcap-dev \ | |
libdhash-dev \ | |
libkrb5-dev \ | |
libpcre2-dev \ | |
libclang-dev \ | |
autoconf \ | |
gettext \ | |
libdbus-1-dev \ | |
libutf8proc-dev \ | |
libgirepository1.0-dev \ | |
libcairo2-dev \ | |
libgdk-pixbuf2.0-dev \ | |
libsoup-3.0-dev \ | |
libpango1.0-dev \ | |
libatk1.0-dev \ | |
libgtk-3-dev \ | |
libwebkit2gtk-4.1-dev | |
- name: "Fetch submodules" | |
run: git submodule init && git submodule update | |
- name: "Run build" | |
run: cargo build --all-features --all-targets | |
continue-on-error: false | |
clippy: | |
name: Clippy | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup sccache | |
uses: mozilla-actions/[email protected] | |
with: | |
version: "v0.4.2" | |
- name: Cache Cargo | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/registry | |
~/.cargo/git | |
target | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
restore-keys: | | |
${{ runner.os }}-cargo- | |
- name: "Run clippy" | |
run: cargo clippy --all-features | |
continue-on-error: true | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup sccache | |
uses: mozilla-actions/[email protected] | |
with: | |
version: "v0.4.2" | |
- name: Cache Cargo | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/registry | |
~/.cargo/git | |
target | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
restore-keys: | | |
${{ runner.os }}-cargo- | |
- name: Install dependencies | |
run: | | |
sudo apt-get update && \ | |
sudo apt-get install -y \ | |
libpam0g-dev \ | |
libudev-dev \ | |
libssl-dev \ | |
pkg-config \ | |
tpm-udev \ | |
libtss2-dev \ | |
libcap-dev \ | |
libdhash-dev \ | |
libkrb5-dev \ | |
libpcre2-dev \ | |
libclang-dev \ | |
autoconf \ | |
gettext \ | |
libdbus-1-dev \ | |
libutf8proc-dev \ | |
libgirepository1.0-dev \ | |
libcairo2-dev \ | |
libgdk-pixbuf2.0-dev \ | |
libsoup-3.0-dev \ | |
libpango1.0-dev \ | |
libatk1.0-dev \ | |
libgtk-3-dev \ | |
libwebkit2gtk-4.1-dev | |
- name: "Run tests" | |
run: cargo test | |
continue-on-error: false |