mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-11-19 12:06:10 +00:00
Compare commits
4 Commits
b9f5051015
...
ci-update
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d023acbaf7 | ||
|
|
1cc087ca48 | ||
|
|
c68c212de8 | ||
|
|
c18ab93f2e |
2
.github/scripts/ci_checks.py
vendored
2
.github/scripts/ci_checks.py
vendored
@@ -53,8 +53,8 @@ def check_version() -> None:
|
||||
current_version = get_current_version()
|
||||
current_version_tuple = packaging.version.parse(current_version)
|
||||
|
||||
# if the current version is >= latest, exit 1
|
||||
if latest_version_tuple >= current_version_tuple:
|
||||
print(f"Current version {current_version_tuple} is less than or equal to latest version {latest_version_tuple} on crates.io.")
|
||||
sys.exit(1)
|
||||
|
||||
print(f"Current version: {current_version_tuple}")
|
||||
|
||||
8
.github/workflows/ci-checks.yml
vendored
8
.github/workflows/ci-checks.yml
vendored
@@ -29,11 +29,13 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v5
|
||||
- name: Run CI checks
|
||||
uses: astral-sh/setup-uv@v6
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
uv venv
|
||||
uv pip install requests packaging
|
||||
- name: Run CI checks
|
||||
run: |
|
||||
uv run .github/scripts/ci_checks.py
|
||||
|
||||
4
.github/workflows/run-benchmarks.yml
vendored
4
.github/workflows/run-benchmarks.yml
vendored
@@ -37,9 +37,9 @@ jobs:
|
||||
toolchain: stable
|
||||
|
||||
- name: Install Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v5
|
||||
uses: astral-sh/setup-uv@v6
|
||||
- name: Setup venv
|
||||
run: |
|
||||
uv venv
|
||||
|
||||
Reference in New Issue
Block a user