From 95351a749eb7209b31a140e9cc965e1c3096b536 Mon Sep 17 00:00:00 2001 From: stdpi Date: Wed, 31 Jul 2024 02:47:51 +0700 Subject: [PATCH] re: ci --- .github/workflows/rust.yml | 22 ++++++++++++++++++++++ README.md | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..9f22bc2 --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,22 @@ +name: Rust + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + # - name: Run tests + # run: cargo test --verbose \ No newline at end of file diff --git a/README.md b/README.md index ed07646..71492ee 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ An alternate to `SkinSystem` for `SkinRestorer`. By default, it have less overhe ## How to use -> Compile it yourself (it require database connection upon compile time, for stupid typecheck whatever thanks) +> Compile it yourself - Clone - Config with .env