mirror of
https://github.com/obi1kenobi/cargo-semver-checks-action.git
synced 2025-02-21 17:24:06 +01:00
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:
parent
0592d5a225
commit
61b07a9e4f
2 changed files with 3 additions and 3 deletions
2
.github/workflows/test-action.yml
vendored
2
.github/workflows/test-action.yml
vendored
|
@ -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'
|
||||
|
|
4
.github/workflows/test-cache.yml
vendored
4
.github/workflows/test-cache.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue