Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/actions/build_debug/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,20 @@ runs:
with:
sharedKey: debug-${{ inputs.target }}-v2

# Java temurin-11 is widely use (and pre-installed) across github actions.
# So most of the time, this action will just setup `JAVA_HOME` for us.
# Don't worry about the running time.
- name: Setup java env
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '11'

# Building with features for test.
- shell: bash
run: cargo build --target ${{ inputs.target }} --features storage-hdfs

# Use this binary for testing.
- shell: bash
run: cargo build --target ${{ inputs.target }}

Expand Down
15 changes: 14 additions & 1 deletion .github/actions/check/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,20 @@ runs:

- name: Clippy
shell: bash
run: cargo clippy --tests -- -D warnings
run: cargo clippy --all-targets -- -D warnings

# Java temurin-11 is widely use (and pre-installed) across github actions.
# So most of the time, this action will just setup `JAVA_HOME` for us.
# Don't worry about the running time.
- name: Setup java env
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '11'

- name: Clippy All features
shell: bash
run: cargo clippy --all-features --all-targets -- -D warnings

- name: Audit dependencies
shell: bash
Expand Down