Skip to content

no sudo

no sudo #15

Workflow file for this run

name: Build OBS Service Cargo
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
container: opensuse/tumbleweed:latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies and Rust
run: |
zypper --non-interactive in libzstd-devel rustup
- name: Build
run: |
cargo update
cargo build --release --all-features
- name: Check formatting
run: |
cargo fmt -- --check
- name: Run sample projects to test
run: |
chmod +x runtests.sh
./runtests.sh