diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml new file mode 100644 index 0000000..ead2a2c --- /dev/null +++ b/.forgejo/workflows/ci.yaml @@ -0,0 +1,20 @@ +name: Build & Test + +on: [push] + +jobs: + build-run: + runs-on: docker + container: + image: rust + steps: + - name: Update package repos + run: apt update + - name: Install Node using apt + run: apt install nodejs -y + - name: Checkout repo + uses: actions/checkout@v4 + - name: Build using Cargo + run: cargo build --verbose + - name: Run unit tests + run: cargo test --verbose diff --git a/Cargo.toml b/Cargo.toml index 29539bd..e503d37 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,6 +7,7 @@ description = "A favicon scraper that just works" homepage = "https://kitsunes.dev/Nekomata/favicon-scraper" repository = "https://kitsunes.dev/Nekomata/favicon-scraper" readme = "README.md" +exclude = ["/.forgejo"] [dependencies] futures = { version = "0.3.31", default-features = false, features = ["std"] }