Compare commits

..

No commits in common. "test" and "v1" have entirely different histories.
test ... v1

3 changed files with 6 additions and 5 deletions

View File

@ -186,10 +186,10 @@ runs:
RUST_CACHE_PARAMETERS: ${{ inputs.rust-cache-parameters }}
if: inputs.use-rust-cache == 'true'
# - name: Cache cargo & target directories
# uses: Swatinem/rust-cache@v2
# with: ${{ steps.parse-rust-cache-parameters.outputs }}
# if: inputs.use-rust-cache == 'true'
- name: Cache cargo & target directories
uses: Swatinem/rust-cache@v2
with: ${{ steps.parse-rust-cache-parameters.outputs }}
if: inputs.use-rust-cache == 'true'
- name: Run cargo test
working-directory: ${{ inputs.working-directory }}

View File

@ -9,6 +9,7 @@ VERSION=$1
if [ -z "$VERSION" ]; then
JSON=$(curl \
--request GET \
--header "Authorization: Bearer $GITHUB_TOKEN" \
https://api.github.com/repos/cross-rs/cross/releases/latest)
VERSION=$(echo "$JSON" | jq -r ".tag_name")
fi

View File

@ -26,5 +26,5 @@ curl --silent --location \
https://raw.githubusercontent.com/houseabsolute/ubi/master/bootstrap/bootstrap-ubi.sh |
sh
# shellcheck disable=SC2086
GITHUB_TOKEN= ./ubi --project cross-rs/cross --matching musl --in . $VERSION_ARGS
./ubi --project cross-rs/cross --matching musl --in . $VERSION_ARGS
CROSS_NO_WARNINGS=0 ./cross --version