-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove ntfs zone files
- Loading branch information
Showing
5 changed files
with
61 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,21 +17,66 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Run Clippy | ||
run: cargo +nightly clippy --fix --workspace --exclude jiaozifs_client_rs --allow-dirty | ||
- name: Install git | ||
run: | | ||
sudo apt update | ||
sudo apt install git | ||
- name: Install Protoc | ||
uses: arduino/setup-protoc@v3 | ||
|
||
- name: Run tests | ||
run: cargo test --verbose --workspace | ||
- name: Install Rust toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
components: clippy rustfmt | ||
|
||
- name: Set up cargo cache | ||
uses: actions/cache@v3 | ||
continue-on-error: false | ||
with: | ||
path: | | ||
~/.cargo/bin/ | ||
~/.cargo/registry/index/ | ||
~/.cargo/registry/cache/ | ||
~/.cargo/git/db/ | ||
target/ | ||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
restore-keys: ${{ runner.os }}-cargo- | ||
|
||
- name: Start minikube | ||
uses: medyagh/setup-minikube@latest | ||
|
||
- name: Build image | ||
- name: Enabel plugin | ||
run: | | ||
eval $(minikube -p minikube docker-env) | ||
alias kubectl="minikube kubectl --" | ||
minikube addons enable metrics-server | ||
- name: Install Helm | ||
uses: azure/[email protected] | ||
id: install | ||
|
||
- name: Install StorageClass | ||
run: | | ||
git clone https://github.com/rancher/local-path-provisioner.git | ||
helm install --name jz-action-fs ./local-path-provisioner/deploy/chart/local-path-provisioner | ||
kubectl get storageclass | ||
- name: Run Clippy | ||
run: | | ||
rustup show | ||
cargo clippy --workspace --exclude jiaozifs_client_rs | ||
- name: Build image | ||
run: | | ||
make minikube-docker | ||
- name: Install Mongo | ||
uses: ankane/setup-mongodb@v1 | ||
|
||
- name: Run tests | ||
run: cargo test --verbose --workspace | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters