mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-08-17 00:00:31 +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-branch: ${{ steps.filter.outputs.gitbutler-branch }}
|
||||
gitbutler-sync: ${{ steps.filter.outputs.gitbutler-sync }}
|
||||
gitbutler-oplog: ${{ steps.filter.outputs.gitbutler-oplog }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dorny/paths-filter@v3
|
||||
@ -63,6 +64,9 @@ jobs:
|
||||
gitbutler-sync:
|
||||
- *rust
|
||||
- 'crates/gitbutler-sync/**'
|
||||
gitbutler-oplog:
|
||||
- *rust
|
||||
- 'crates/gitbutler-oplog/**'
|
||||
|
||||
lint-node:
|
||||
needs: changes
|
||||
@ -238,6 +242,30 @@ jobs:
|
||||
features: ${{ toJson(matrix.features) }}
|
||||
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:
|
||||
needs: changes
|
||||
if: ${{ needs.changes.outputs.gitbutler-cli == 'true' }}
|
||||
@ -296,6 +324,7 @@ jobs:
|
||||
- check-gitbutler-core
|
||||
- check-gitbutler-branch
|
||||
- check-gitbutler-sync
|
||||
- check-gitbutler-oplog
|
||||
- check-gitbutler-git
|
||||
- check-gitbutler-cli
|
||||
- check-gitbutler-watcher
|
||||
|
Loading…
Reference in New Issue
Block a user