Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(undo) skip checks
Browse files Browse the repository at this point in the history
Bromeon committed Jun 23, 2024

Verified

This commit was signed with the committer’s verified signature.
vrozkovec Vit Rozkovec
1 parent 0e1984e commit a6ea445
Showing 1 changed file with 60 additions and 60 deletions.
120 changes: 60 additions & 60 deletions .github/workflows/release-version.yml
Original file line number Diff line number Diff line change
@@ -97,71 +97,71 @@ jobs:
printf "\nAll versions OK.\n"
fi
# Keep all in sync with minimal-ci and full-ci.
unit-test:
runs-on: ubuntu-latest
needs: validation
steps:
- uses: actions/checkout@v4

- name: "Install Rust (uncached)"
run: rustup update stable

- name: "Compile and run test"
run: cargo test $GDEXT_FEATURES

clippy:
runs-on: ubuntu-latest
needs: validation
steps:
- uses: actions/checkout@v4

- name: "Install Rust (uncached)"
run: rustup update stable

- name: "Check clippy"
run: |
cargo clippy --all-targets $GDEXT_FEATURES -- \
-D clippy::suspicious \
-D clippy::style \
-D clippy::complexity \
-D clippy::perf \
-D clippy::dbg_macro \
-D clippy::todo \
-D clippy::unimplemented \
-D warnings
rustfmt:
runs-on: ubuntu-latest
needs: validation
steps:
- uses: actions/checkout@v4

- name: "Install Rust (uncached)"
run: rustup update stable

- name: "Check rustfmt"
run: cargo fmt --all -- --check

- name: "Run custom repo checks"
run: |
cargo run -p repo-tweak
git diff --quiet --exit-code || {
echo "::error::Godot versions out of sync; update with `cargo run -p repo-tweak`."
echo "Differences:"
echo "----------------------------------------------------"
git diff
echo "----------------------------------------------------"
exit 1
}
# # Keep all in sync with minimal-ci and full-ci.
# unit-test:
# runs-on: ubuntu-latest
# needs: validation
# steps:
# - uses: actions/checkout@v4
#
# - name: "Install Rust (uncached)"
# run: rustup update stable
#
# - name: "Compile and run test"
# run: cargo test $GDEXT_FEATURES
#
# clippy:
# runs-on: ubuntu-latest
# needs: validation
# steps:
# - uses: actions/checkout@v4
#
# - name: "Install Rust (uncached)"
# run: rustup update stable
#
# - name: "Check clippy"
# run: |
# cargo clippy --all-targets $GDEXT_FEATURES -- \
# -D clippy::suspicious \
# -D clippy::style \
# -D clippy::complexity \
# -D clippy::perf \
# -D clippy::dbg_macro \
# -D clippy::todo \
# -D clippy::unimplemented \
# -D warnings
#
# rustfmt:
# runs-on: ubuntu-latest
# needs: validation
# steps:
# - uses: actions/checkout@v4
#
# - name: "Install Rust (uncached)"
# run: rustup update stable
#
# - name: "Check rustfmt"
# run: cargo fmt --all -- --check
#
# - name: "Run custom repo checks"
# run: |
# cargo run -p repo-tweak
# git diff --quiet --exit-code || {
# echo "::error::Godot versions out of sync; update with `cargo run -p repo-tweak`."
# echo "Differences:"
# echo "----------------------------------------------------"
# git diff
# echo "----------------------------------------------------"
# exit 1
# }

docs-and-commit:
runs-on: ubuntu-latest
needs:
- validation
- unit-test
- clippy
- rustfmt
# - unit-test
# - clippy
# - rustfmt
env:
GDEXT_PUBLISHED_VERSION: ${{ needs.validation.outputs.GDEXT_PUBLISHED_VERSION }}
steps:

0 comments on commit a6ea445

Please sign in to comment.