Skip to content

Show backtraces in github workflows #11

Show backtraces in github workflows

Show backtraces in github workflows #11

Workflow file for this run

name: Main
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
jobs:
rdme:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Format
run: cargo fmt --check
- name: README sync
run: |
cargo install cargo-rdme
cargo rdme --check
- name: Build
run: cargo build --verbose
- name: Set up Podman
run: |
sudo apt-get install -y podman
sudo systemctl enable --now podman.socket
sudo systemctl status podman.socket
- name: Tests
run: cargo test --verbose