summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Silas Bartha <[email protected]>2024-06-02 18:38:40 -0400
committerLibravatar Silas Bartha <[email protected]>2024-06-02 18:38:40 -0400
commit2a50eb9b405efb2a1935ebea229791d61272fe8c (patch)
tree0698e5781b4b5071a181213c9c62a04ec40cb029
parented31c4201834719b2b75dca7cad1637abf1a80bb (diff)
parent2d798abe12c1a80cbd5011a8a1f2b18ee5d84e2d (diff)
Merge branch 'master' of github.com:exvacuum/occule
-rw-r--r--.github/workflows/docs.yml4
-rw-r--r--.github/workflows/rust.yml22
2 files changed, 24 insertions, 2 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index c563bf5..19fab14 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -1,7 +1,7 @@
name: Docs
on:
push:
- branches: [main]
+ branches: [master]
permissions:
contents: read
pages: write
@@ -28,7 +28,7 @@ jobs:
- name: Build docs
run: cargo doc --no-deps
- name: Add redirect
- run: echo '<meta http-equiv="refresh" content="0;url=aoc/index.html">' > target/doc/index.html
+ run: echo '<meta http-equiv="refresh" content="0;url=occule/index.html">' > target/doc/index.html
- name: Remove lock file
run: rm target/doc/.lock
- name: Upload artifact
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
new file mode 100644
index 0000000..000bb2c
--- /dev/null
+++ b/.github/workflows/rust.yml
@@ -0,0 +1,22 @@
+name: Rust
+
+on:
+ push:
+ branches: [ "master" ]
+ pull_request:
+ branches: [ "master" ]
+
+env:
+ CARGO_TERM_COLOR: always
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v4
+ - name: Build
+ run: cargo build --verbose
+ - name: Run tests
+ run: cargo test --verbose