fix(axelar-std-derive): cleanup dependencies (#213) #1210
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: Test | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- releases/** | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: Test Suite | |
runs-on: blacksmith-4vcpu-ubuntu-2204 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: 1.81.0 | |
- name: Rust Cache | |
uses: useblacksmith/rust-cache@v3 | |
with: | |
shared-key: "cache" | |
- name: Run tests | |
run: RUSTFLAGS="-D warnings" cargo test --locked | |
env: | |
RUST_BACKTRACE: 1 | |
- name: Remove all golden files | |
run: find . -name "*.golden" -exec rm -rf {} \; | |
- name: Regenerate golden files | |
run: RUSTFLAGS="-D warnings" cargo test --locked | |
env: | |
GOLDIE_UPDATE: 1 | |
- name: Check for stale golden files | |
run: git diff --exit-code |