Skip to content

fix(cli): fix typo in get datasets docs (#356) #1195

fix(cli): fix typo in get datasets docs (#356)

fix(cli): fix typo in get datasets docs (#356) #1195

Workflow file for this run

name: Build
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
clippy:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
cli/libpff-20231205
key: ${{ runner.os }}-build-${{ hashFiles('**/Cargo.lock', 'scripts/build-install') }}
- name: Install build dependencies
run: sudo apt install git autoconf automake autopoint libtool pkg-config
# Needs to be separate job because clippy currently (incorrectly) shares cache with cargo
# (See https://github.com/rust-lang/rust-clippy/issues/4612)
- name: Run clippy
run: cargo clippy --all-targets --locked -- -D warnings
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04, macos-15]
steps:
- uses: actions/checkout@v4
- name: Setup mac dependencies
if: matrix.os == 'macos-15'
run: |
# Create directory for Macport installs
sudo mkdir -p /opt/local
# Conigure permissions on that directory
sudo chmod -R 777 /opt/local
# Add the path to GITHUB_PATH
echo "/opt/local/bin:/opt/local/sbin" >> "$GITHUB_PATH"
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
cli/libpff-20231205
/opt/local
key: ${{ runner.os }}-build-${{ hashFiles('**/Cargo.lock', 'scripts/build-install') }}
- name: Install build deps
run: ./scripts/build-install
env:
BUILD_PLATFORM: ${{ matrix.os }}
- name: Build
run: ./scripts/build
- name: Run tests
run: ./scripts/check
env:
REINFER_CLI_TEST_PROJECT: ${{ secrets.REINFER_CLI_TEST_PROJECT }}
REINFER_CLI_TEST_TOKEN: ${{ secrets.REINFER_CLI_TEST_TOKEN }}
REINFER_CLI_TEST_ENDPOINT: ${{ secrets.REINFER_CLI_TEST_ENDPOINT }}