Skip to content

Try to trigger CI without PR. #546

Try to trigger CI without PR.

Try to trigger CI without PR. #546

Workflow file for this run

name: validate commit
on: [push]
env:
CARGO_TERM_COLOR: always
jobs:
build-binary:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
include:
- os: ubuntu-latest
artifact_prefix: linux-x86-64
target: x86_64-unknown-linux-musl
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target/release
key: release-${{ runner.os }}-${{ github.job }}-${{ secrets.CI_CACHE_VERSION }}
- run: rustup target add ${{ matrix.target }}
- run: cargo build --release --target ${{ matrix.target }}
- name: sanity-test binary
shell: bash
run: target/${{ matrix.target }}/release/operator help