abstract tx5 backend in prep for m̶o̶c̶k̶ mem backend (#105) #565
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: Static Analysis | |
on: | |
merge_group: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
static-analysis: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ | |
ubuntu-latest, | |
] | |
toolchain: [ | |
stable, | |
1.75.0 | |
] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Go Toolchain | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '=1.20.0' | |
- name: Rust Toolchain | |
run: | | |
rustup toolchain install ${{ matrix.toolchain }} --profile minimal --no-self-update | |
rustup default ${{ matrix.toolchain }} | |
rustup component add rustfmt --toolchain ${{ matrix.toolchain }} | |
rustup component add clippy --toolchain ${{ matrix.toolchain }} | |
- name: Rust Cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Make Static | |
run: cargo install cargo-rdme && make static |