Skip to content

devcontainer, bazel-rust image to ghcr and CI. #21

devcontainer, bazel-rust image to ghcr and CI.

devcontainer, bazel-rust image to ghcr and CI. #21

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
# Cancel previously running PR jobs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
build_and_test:
name: Rust project
runs-on: ubuntu-latest
container:
image: ghcr.io/${{ github.repository }}-rust-ci:latest
steps:
- uses: actions/checkout@v4
- run: cargo check --workspace --all-targets
- run: cargo build --workspace --all-targets
- run: cargo test --workspace --all-targets