chore(deps): update lambda #537
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
on: push | |
env: | |
# renovate: datasource=github-releases depName=zig lookupName=ziglang/zig | |
ZIG_VERSION: 0.13.0 | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: cargo clippy | |
check_format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup toolchain install nightly | |
- run: rustup component add rustfmt --toolchain nightly | |
- run: cargo +nightly fmt --check --all | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: cargo test | |
try_arm64_build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Zig toolchain | |
uses: korandoru/setup-zig@v1 | |
with: | |
zig-version: ${{ env.ZIG_VERSION }} | |
- name: Install Cargo Lambda | |
uses: jaxxstorm/action-install-gh-release@v1.14.0 | |
with: | |
repo: cargo-lambda/cargo-lambda | |
platform: linux | |
arch: x86_64 | |
- run: cargo lambda build --arm64 |