bump dependencies to reduce cargo audit warnings, bump version to 0.6.5 #850
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
on: [pull_request, push] | |
name: Continuous integration | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Dependencies | |
run: sudo apt update -y && sudo apt install libgpgme11-dev libgpg-error-dev nettle-dev -y | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: check | |
test: | |
name: Test Suite | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Dependencies | |
run: sudo apt update -y && sudo apt install libgpgme11-dev libgpg-error-dev libgtk-3-dev qtdeclarative5-dev libqt5svg5-dev libxcb-shape0-dev libxcb-xfixes0-dev nettle-dev -y | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --all | |
fmt: | |
name: Rustfmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- run: rustup component add rustfmt | |
- name: Dependencies | |
run: sudo apt update -y && sudo apt install libgpgme11-dev libgpg-error-dev nettle-dev -y | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --all -- --check | |
clippy: | |
name: Clippy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- run: rustup component add clippy | |
- name: Dependencies | |
run: sudo apt update -y && sudo apt install libgpgme11-dev libgpg-error-dev nettle-dev -y | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: clippy | |
args: -- -D warnings |