Skip to content

Update Rust crate thiserror to 1.0.56 #88

Update Rust crate thiserror to 1.0.56

Update Rust crate thiserror to 1.0.56 #88

Workflow file for this run

name: main
on: [ push ]
jobs:
check-pre-commit:
runs-on: ubuntu-latest
steps:
- run: |
sudo apt-get update
sudo apt-get install libgpgme-dev
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: ATiltedTree/setup-rust@v1
with:
rust-version: stable
components: clippy
- run: python -m pip install pre-commit
- uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
- run: pre-commit run --show-diff-on-failure --color=always --all-files
run-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rust-version: [stable, beta, nightly]
steps:
- name: install system dependencies
run: |
sudo apt-get update
sudo apt-get install gpg libgpgme-dev pass
- uses: actions/checkout@v4
- name: prepare for tests
run: |
# import gpg key
gpg --import tests/8497251104B6F45F.key
echo -e "trust\n5\ny" | gpg --no-tty --command-fd 0 --edit-key 8497251104B6F45F
# init store in home directory for tests
pass init 8497251104B6F45F
- uses: ATiltedTree/setup-rust@v1
with:
rust-version: ${{ matrix.rust-version }}
- run: cargo test --no-fail-fast -- --show-output