Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
fix: don't use patch version for str comp (#597)
Browse files Browse the repository at this point in the history
Co-authored-by: Rashad Alston <[email protected]>
  • Loading branch information
ra0x3 and Rashad Alston authored Feb 17, 2023
1 parent bfafec1 commit a72e66d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
RUSTFLAGS: -D warnings
REGISTRY: ghcr.io
SQLX_OFFLINE: true
RUSTC_VERSION: 1.67.0
RUSTC_VERSION: 1.67
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}

jobs:
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Check rustc version
run: |
# Check rustc version, log message and exit if it doesnt match env
CURRENT_RUSTC_VERSION=$(rustc --version | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
CURRENT_RUSTC_VERSION=$(rustc --version | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | cut -c -4)
if [ "$CURRENT_RUSTC_VERSION" != "$RUSTC_VERSION" ]; then
echo "Rustc version ($CURRENT_RUSTC_VERSION) does not match the required version ($RUSTC_VERSION)"
exit 1
Expand Down

0 comments on commit a72e66d

Please sign in to comment.