diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/mirror.yml | 15 | ||||
| -rw-r--r-- | .github/workflows/test.yml | 12 |
2 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 0000000..0ec3a82 --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,15 @@ +name: Mirror +on: [push] + +jobs: + mirror: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: yesolutions/mirror-action@master + with: + REMOTE: 'https://git.popov.link/fparkan.git' + GIT_USERNAME: ${{ secrets.GIT_USERNAME }} + GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..01581b8 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,12 @@ +name: Test +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 |
