mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-09-11 12:25:42 +03:00
adds a ci job for oplog crate
This commit is contained in:
parent
c36f67f148
commit
6d5ef6b03e
29
.github/workflows/push.yaml
vendored
29
.github/workflows/push.yaml
vendored
@ -21,6 +21,7 @@ jobs:
|
|||||||
gitbutler-watcher: ${{ steps.filter.outputs.gitbutler-watcher }}
|
gitbutler-watcher: ${{ steps.filter.outputs.gitbutler-watcher }}
|
||||||
gitbutler-branch: ${{ steps.filter.outputs.gitbutler-branch }}
|
gitbutler-branch: ${{ steps.filter.outputs.gitbutler-branch }}
|
||||||
gitbutler-sync: ${{ steps.filter.outputs.gitbutler-sync }}
|
gitbutler-sync: ${{ steps.filter.outputs.gitbutler-sync }}
|
||||||
|
gitbutler-oplog: ${{ steps.filter.outputs.gitbutler-oplog }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: dorny/paths-filter@v3
|
- uses: dorny/paths-filter@v3
|
||||||
@ -63,6 +64,9 @@ jobs:
|
|||||||
gitbutler-sync:
|
gitbutler-sync:
|
||||||
- *rust
|
- *rust
|
||||||
- 'crates/gitbutler-sync/**'
|
- 'crates/gitbutler-sync/**'
|
||||||
|
gitbutler-oplog:
|
||||||
|
- *rust
|
||||||
|
- 'crates/gitbutler-oplog/**'
|
||||||
|
|
||||||
lint-node:
|
lint-node:
|
||||||
needs: changes
|
needs: changes
|
||||||
@ -238,6 +242,30 @@ jobs:
|
|||||||
features: ${{ toJson(matrix.features) }}
|
features: ${{ toJson(matrix.features) }}
|
||||||
action: ${{ matrix.action }}
|
action: ${{ matrix.action }}
|
||||||
|
|
||||||
|
check-gitbutler-oplog:
|
||||||
|
needs: changes
|
||||||
|
if: ${{ needs.changes.outputs.gitbutler-oplog == 'true' }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: ghcr.io/gitbutlerapp/ci-base-image:latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
action:
|
||||||
|
- test
|
||||||
|
- check
|
||||||
|
features:
|
||||||
|
- ''
|
||||||
|
- '*'
|
||||||
|
- []
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: ./.github/actions/init-env-rust
|
||||||
|
- uses: ./.github/actions/check-crate
|
||||||
|
with:
|
||||||
|
crate: gitbutler-oplog
|
||||||
|
features: ${{ toJson(matrix.features) }}
|
||||||
|
action: ${{ matrix.action }}
|
||||||
|
|
||||||
check-gitbutler-cli:
|
check-gitbutler-cli:
|
||||||
needs: changes
|
needs: changes
|
||||||
if: ${{ needs.changes.outputs.gitbutler-cli == 'true' }}
|
if: ${{ needs.changes.outputs.gitbutler-cli == 'true' }}
|
||||||
@ -296,6 +324,7 @@ jobs:
|
|||||||
- check-gitbutler-core
|
- check-gitbutler-core
|
||||||
- check-gitbutler-branch
|
- check-gitbutler-branch
|
||||||
- check-gitbutler-sync
|
- check-gitbutler-sync
|
||||||
|
- check-gitbutler-oplog
|
||||||
- check-gitbutler-git
|
- check-gitbutler-git
|
||||||
- check-gitbutler-cli
|
- check-gitbutler-cli
|
||||||
- check-gitbutler-watcher
|
- check-gitbutler-watcher
|
||||||
|
Loading…
Reference in New Issue
Block a user