Added initial CI
This commit is contained in:
parent
14c53d96c0
commit
193029d4e1
46
.gitea/workflows/ci.yml
Normal file
46
.gitea/workflows/ci.yml
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
name: Continuous integration
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
#check:
|
||||||
|
# name: Check
|
||||||
|
# runs-on: ubuntu-latest
|
||||||
|
# steps:
|
||||||
|
# - uses: actions/checkout@v4
|
||||||
|
# - uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
|
# - run: cargo check
|
||||||
|
|
||||||
|
#test:
|
||||||
|
# name: Test Suite
|
||||||
|
# runs-on: ubuntu-latest
|
||||||
|
# steps:
|
||||||
|
# - uses: actions/checkout@v4
|
||||||
|
# - uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
|
# - run: cargo test
|
||||||
|
|
||||||
|
fmt:
|
||||||
|
name: Rustfmt
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
|
- run: rustup component add rustfmt
|
||||||
|
- run: cargo fmt --all -- --check
|
||||||
|
|
||||||
|
clippy:
|
||||||
|
name: Clippy
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
|
- run: rustup component add clippy
|
||||||
|
- run: cargo clippy -- -D warnings
|
||||||
|
|
||||||
|
build:
|
||||||
|
name: build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
|
- run: cargo build
|
3
DEV.md
3
DEV.md
|
@ -50,6 +50,7 @@ standalone one, moving default paths and using [#10](#10):
|
||||||
[FEAT] - [cli](/src/ui/cli/mod.rs)
|
[FEAT] - [cli](/src/ui/cli/mod.rs)
|
||||||
add missing commands that are available via gui
|
add missing commands that are available via gui
|
||||||
- Downloading single songs, from the manifest and standalone as an utility
|
- Downloading single songs, from the manifest and standalone as an utility
|
||||||
|
- removing playlists, single songs
|
||||||
|
|
||||||
### #9
|
### #9
|
||||||
[BUG] - [utils](/src/util.rs)
|
[BUG] - [utils](/src/util.rs)
|
||||||
|
@ -61,7 +62,7 @@ Add an utility to detect if this is ran as a standalone application
|
||||||
|
|
||||||
### #11
|
### #11
|
||||||
[FEAT] - [downloader](/src/downloader.rs)
|
[FEAT] - [downloader](/src/downloader.rs)
|
||||||
Refractor for better readability and usage
|
Refractor downloader for better readability and usage
|
||||||
|
|
||||||
### #12
|
### #12
|
||||||
[GIT]
|
[GIT]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user