aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml12
-rw-r--r--.github/workflows/mirror.yml17
2 files changed, 12 insertions, 17 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..2f6a72d
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,12 @@
+name: test suite
+on: [push, pull_request]
+
+jobs:
+ test:
+ name: cargo test
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: dtolnay/rust-toolchain@stable
+ - run: cargo check --all
+ - run: cargo test --all-features \ No newline at end of file
diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml
deleted file mode 100644
index 8671263..0000000
--- a/.github/workflows/mirror.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-name: Workflow
-
-on: [push]
-
-jobs:
- mirror:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- with:
- fetch-depth: 0
-
- - uses: yesolutions/mirror-action@master
- with:
- REMOTE: 'https://git.popov.link/wecli.git'
- GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
- GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}