Skip to content

remove duplicate logging setup in common and main #400

remove duplicate logging setup in common and main

remove duplicate logging setup in common and main #400

Workflow file for this run

name: Rust
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install libmagic
run: sudo apt install libmagic-dev
- name: Rust Toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Cache
uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --verbose --release
- name: Test
run: cargo test --verbose
- name: Clippy
run: cargo clippy
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: gitarena
path: target/release/gitarena