Split get_accessory_data to avoid mixing secrets, headers, etc. #95
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: Checks | |
on: | |
push: | |
branches: [ main, develop ] | |
pull_request: | |
branches: "**" | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
ubuntu-integration-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Rust | |
run: | | |
rustup toolchain install nightly-2024-12-14 # pinning the nightly version should help with caching dependencies | |
rustup default nightly-2024-12-14 | |
rustup target add wasm32-unknown-unknown | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
runtime/target/ | |
modules/target/ | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
- name: Run Integration Tests | |
run: ./testing/integration.sh | |
ubuntu-docker-build-amd64-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
runtime/target/ | |
key: ${{ runner.os }}-cargo-amd64-${{ hashFiles('**/Cargo.lock') }} | |
- name: Run Docker Build Test (amd64) | |
run: cd runtime && docker build -t latest -f plaid/resources/Dockerfile.amd64 . | |
ubuntu-docker-build-aarch64-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
runtime/target/ | |
key: ${{ runner.os }}-cargo-aarch64-${{ hashFiles('**/Cargo.lock') }} | |
- name: Run Docker Build Test (aarch64) | |
run: cd runtime && docker build -t latest -f plaid/resources/Dockerfile.aarch64 . | |