Skip to content

Commit

Permalink
✨ Audio format conversion (#45)
Browse files Browse the repository at this point in the history
* ✨ Add audio format option

* 🏗️ I give up, using ffmpeg for conversion

* ♻️ `next_display_order` seems useless

* 📝 Add descriptions about ffmpeg

* 📝 Remove Korean README

since everything here is basically copy-pasted from English version

* ♻️ Make ffmpeg optional

* 🎨 Fmt

* 👷 Split format and lint

* ⚗️ Try to fix check CI
  • Loading branch information
nicks96432 authored Jan 9, 2024
1 parent 9e24df3 commit 0ae04e0
Show file tree
Hide file tree
Showing 18 changed files with 243 additions and 898 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: cargo-bins/cargo-binstall@main

- name: Install cargo check tools
run: cargo binstall --no-confirm cargo-deny cargo-outdated cargo-udeps cargo-audit || true
run: cargo binstall --no-confirm --force cargo-deny cargo-outdated cargo-udeps cargo-audit

# remove advisory-db is required to fetch it correctly
- name: Check
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/fmt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Fmt

on:
pull_request:
branches: ["main"]

env:
CARGO_TERM_COLOR: always

jobs:
lint:
name: Fmt
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Install Rust
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt

- name: Install nasm
uses: ilammy/setup-nasm@v1

- uses: Swatinem/rust-cache@v2

- name: Lint
run: cargo fmt --all -- --check
6 changes: 2 additions & 4 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,12 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
components: clippy

- name: Install nasm
uses: ilammy/setup-nasm@v1

- uses: Swatinem/rust-cache@v2

- name: Lint
run: |
cargo fmt --all -- --check
cargo clippy -- -D warnings
run: cargo clippy -- -D warnings
Loading

0 comments on commit 0ae04e0

Please sign in to comment.