Added initial CI
Some checks failed
Continuous integration / build (push) Waiting to run
Continuous integration / Rustfmt (push) Failing after 1m28s
Continuous integration / Clippy (push) Has been cancelled

This commit is contained in:
Gvidas Juknevičius 2024-10-11 02:17:27 +03:00
parent 14c53d96c0
commit 193029d4e1
Signed by: MCorange
GPG Key ID: 12B1346D720B7FBB
2 changed files with 48 additions and 1 deletions

46
.gitea/workflows/ci.yml Normal file
View 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
View File

@ -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]