Skip to content

Commit

Permalink
modify ci
Browse files Browse the repository at this point in the history
  • Loading branch information
zjregee committed Jun 13, 2024
1 parent e93835c commit 1046335
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 10 deletions.
6 changes: 0 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ updates:
schedule:
interval: "monthly"

- package-ecosystem: "cargo"
directory: "/bin/ovfs"
open-pull-requests-limit: 1
schedule:
interval: "monthly"

- package-ecosystem: "cargo"
directory: "/integrations/dav-server"
open-pull-requests-limit: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.

name: Ovfs CI
name: Integration Fuse3 CI

on:
push:
Expand All @@ -25,9 +25,9 @@ on:
branches:
- main
paths:
- "bin/ovfs/**"
- "integrations/fuse3/**"
- "core/**"
- ".github/workflows/ci_bin_ovfs.yml"
- ".github/workflows/ci_integration_fuse3.yml"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
Expand All @@ -47,5 +47,5 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Cargo clippy
working-directory: bin/ovfs
working-directory: integrations/fuse3
run: cargo clippy --all-targets --all-features -- -D warnings
51 changes: 51 additions & 0 deletions .github/workflows/ci_integration_virtiofs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

name: Integration Virtiofs CI

on:
push:
branches:
- main
pull_request:
branches:
- main
paths:
- "integrations/virtiofs/**"
- "core/**"
- ".github/workflows/ci_integration_virtiofs.yml"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true

jobs:
check_clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Rust toolchain
uses: ./.github/actions/setup
with:
need-rocksdb: true
need-protoc: true
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Cargo clippy
working-directory: integrations/virtiofs
run: cargo clippy --all-targets --all-features -- -D warnings

0 comments on commit 1046335

Please sign in to comment.