mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-24 01:51:57 +03:00
add ci for the gitbutler-repo crate
This commit is contained in:
parent
ce497ef7cd
commit
90670def3b
29
.github/workflows/push.yaml
vendored
29
.github/workflows/push.yaml
vendored
@ -23,6 +23,7 @@ jobs:
|
||||
gitbutler-sync: ${{ steps.filter.outputs.gitbutler-sync }}
|
||||
gitbutler-oplog: ${{ steps.filter.outputs.gitbutler-oplog }}
|
||||
gitbutler-branchstate: ${{ steps.filter.outputs.gitbutler-branchstate }}
|
||||
gitbutler-repo: ${{ steps.filter.outputs.gitbutler-repo }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dorny/paths-filter@v3
|
||||
@ -71,6 +72,9 @@ jobs:
|
||||
gitbutler-branchstate:
|
||||
- *rust
|
||||
- 'crates/gitbutler-branchstate/**'
|
||||
gitbutler-repo:
|
||||
- *rust
|
||||
- 'crates/gitbutler-repo/**'
|
||||
|
||||
lint-node:
|
||||
needs: changes
|
||||
@ -294,6 +298,30 @@ jobs:
|
||||
features: ${{ toJson(matrix.features) }}
|
||||
action: ${{ matrix.action }}
|
||||
|
||||
check-gitbutler-repo:
|
||||
needs: changes
|
||||
if: ${{ needs.changes.outputs.gitbutler-repo == '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-repo
|
||||
features: ${{ toJson(matrix.features) }}
|
||||
action: ${{ matrix.action }}
|
||||
|
||||
check-gitbutler-cli:
|
||||
needs: changes
|
||||
if: ${{ needs.changes.outputs.gitbutler-cli == 'true' }}
|
||||
@ -354,6 +382,7 @@ jobs:
|
||||
- check-gitbutler-sync
|
||||
- check-gitbutler-oplog
|
||||
- check-gitbutler-branchstate
|
||||
- check-gitbutler-repo
|
||||
- check-gitbutler-git
|
||||
- check-gitbutler-cli
|
||||
- check-gitbutler-watcher
|
||||
|
Loading…
Reference in New Issue
Block a user