Revamp API access methods #229
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
--- | |
# The reason why we check for vendorability is not because we at Mullvad usually vendor | |
# dependencies ourselves. But it can help some third party packagers of this project. | |
# It also is a sanity check on our dependency tree. Vendoring will fail if a single | |
# dependency has multiple sources: https://github.com/mullvad/mullvadvpn-app/issues/4848 | |
name: Rust - Vendor dependencies | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/cargo-vendor.yml | |
- Cargo.lock | |
- '**/Cargo.toml' | |
workflow_dispatch: | |
jobs: | |
cargo-vendor: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: actions-rs/[email protected] | |
with: | |
toolchain: stable | |
default: true | |
- name: Vendor Rust dependencies | |
run: cargo vendor |