Added CI for GitHub and Gitea
All checks were successful
RenovateBot / renovate (push) Successful in 32s

This commit is contained in:
2024-07-19 17:31:21 +04:00
parent 7fb0f81a89
commit 4ef6756f59
5 changed files with 68 additions and 17 deletions

12
.github/workflows/ci.yml vendored Normal file
View File

@ -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

View File

@ -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 }}