Versions of c-s-c after 0.37 require Rust 1.81+ (#93)

* update rust versions

* Only test oldest supported version

* debug cache

* List caches

* fix grep

* unnecessary quotes

* remove debug
This commit is contained in:
Bartosz Smolarczyk 2025-01-13 16:14:19 +01:00 committed by GitHub
parent 0592d5a225
commit 61b07a9e4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest', 'windows-latest', 'macos-latest']
toolchain: ['1.80', 'stable', 'beta']
toolchain: ["1.81", "stable", "beta"]
experimental: [false]
include:
- os: 'ubuntu-latest'

View file

@ -33,7 +33,7 @@ jobs:
prefix-key: testprefix
- name: Check if the cache directory exists
run: |
if ! grep -q "ref_slice-1.2.1/src/lib.rs" "semver-checks/target/semver-checks/cache/registry-ref_slice-1_2_1.json"; then
if ! grep -q "ref_slice-1.2.1/src/lib.rs" semver-checks/target/semver-checks/cache/ref_slice-1_2_1*.json; then
echo "Non-existent or invalid cache file!"
exit 1
fi
@ -83,7 +83,7 @@ jobs:
prefix-key: testprefix
- name: Check if the cache directory exists
run: |
if ! grep -q "ref_slice-1.2.1/src/lib.rs" "semver-checks/target/semver-checks/cache/registry-ref_slice-1_2_1.json"; then
if ! grep -q "ref_slice-1.2.1/src/lib.rs" semver-checks/target/semver-checks/cache/ref_slice-1_2_1*.json; then
echo "Non-existent or invalid cache file!"
exit 1
fi