Skip to content

Commit

Permalink
(undo) skip checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Bromeon committed Jun 23, 2024
1 parent c49969b commit cf11372
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
Expand Up @@ -86,71 +86,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:
Expand Down

0 comments on commit cf11372

Please sign in to comment.