Skip to content

Bump clap from 4.5.39 to 4.5.40 #154

Bump clap from 4.5.39 to 4.5.40

Bump clap from 4.5.39 to 4.5.40 #154

Workflow file for this run

name: Build 🪛
on:
pull_request:
push:
paths:
- 'src/**'
- Cargo.toml
- Cargo.lock
- .github/workflows/build.yml
branches:
- '**'
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Test
strategy:
matrix:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
- os: ubuntu-latest
target: aarch64-unknown-linux-gnu
- os: macOS-latest
target: x86_64-apple-darwin
- os: macOS-latest
target: aarch64-apple-darwin
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
targets: ${{ matrix.target }}
- name: Build binary
uses: houseabsolute/actions-rust-cross@v0
with:
command: build
target: ${{ matrix.target }}
args: "--locked --release"
strip: true
- name: Run the binary
if: matrix.target != 'aarch64-unknown-linux-gnu'
run: ./target/${{ matrix.target }}/release/gitrack -p /tmp