mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-08-17 00:00:31 +03:00
adds ci for branchstate crate
This commit is contained in:
parent
e2bfb03fa9
commit
9258614a64
29
.github/workflows/push.yaml
vendored
29
.github/workflows/push.yaml
vendored
@ -22,6 +22,7 @@ jobs:
|
||||
gitbutler-branch: ${{ steps.filter.outputs.gitbutler-branch }}
|
||||
gitbutler-sync: ${{ steps.filter.outputs.gitbutler-sync }}
|
||||
gitbutler-oplog: ${{ steps.filter.outputs.gitbutler-oplog }}
|
||||
gitbutler-branchstate: ${{ steps.filter.outputs.gitbutler-branchstate }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dorny/paths-filter@v3
|
||||
@ -67,6 +68,9 @@ jobs:
|
||||
gitbutler-oplog:
|
||||
- *rust
|
||||
- 'crates/gitbutler-oplog/**'
|
||||
gitbutler-branchstate:
|
||||
- *rust
|
||||
- 'crates/gitbutler-branchstate/**'
|
||||
|
||||
lint-node:
|
||||
needs: changes
|
||||
@ -266,6 +270,30 @@ jobs:
|
||||
features: ${{ toJson(matrix.features) }}
|
||||
action: ${{ matrix.action }}
|
||||
|
||||
check-gitbutler-branchstate:
|
||||
needs: changes
|
||||
if: ${{ needs.changes.outputs.gitbutler-branchstate == '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-branchstate
|
||||
features: ${{ toJson(matrix.features) }}
|
||||
action: ${{ matrix.action }}
|
||||
|
||||
check-gitbutler-cli:
|
||||
needs: changes
|
||||
if: ${{ needs.changes.outputs.gitbutler-cli == 'true' }}
|
||||
@ -325,6 +353,7 @@ jobs:
|
||||
- check-gitbutler-branch
|
||||
- check-gitbutler-sync
|
||||
- check-gitbutler-oplog
|
||||
- check-gitbutler-branchstate
|
||||
- check-gitbutler-git
|
||||
- check-gitbutler-cli
|
||||
- check-gitbutler-watcher
|
||||
|
Loading…
Reference in New Issue
Block a user