This commit is contained in:
parent
61619ac660
commit
81dbf946e9
2 changed files with 21 additions and 0 deletions
20
.forgejo/workflows/ci.yaml
Normal file
20
.forgejo/workflows/ci.yaml
Normal file
|
@ -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
|
|
@ -7,6 +7,7 @@ description = "A favicon scraper that just works"
|
||||||
homepage = "https://kitsunes.dev/Nekomata/favicon-scraper"
|
homepage = "https://kitsunes.dev/Nekomata/favicon-scraper"
|
||||||
repository = "https://kitsunes.dev/Nekomata/favicon-scraper"
|
repository = "https://kitsunes.dev/Nekomata/favicon-scraper"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
exclude = ["/.forgejo"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
futures = { version = "0.3.31", default-features = false, features = ["std"] }
|
futures = { version = "0.3.31", default-features = false, features = ["std"] }
|
||||||
|
|
Loading…
Add table
Reference in a new issue