Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify Ubuntu 22.04 as the CI environment #102

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- opened
- synchronize
paths:
- ".github/**"
- "crates/**"
- "src/**"

Expand Down Expand Up @@ -36,18 +37,23 @@ env:
jobs:
# linter
clippy_check:
runs-on: ubuntu-latest
# ubuntu 24.04 doesn't have LLVM 15(https://apt.llvm.org/noble/dists/),
# so we use 22.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Run Clippy
run: cargo clippy --all-targets --all-features
run: |
cargo clippy --all-targets --all-features

# all test cases
# all test cases with default features
test:
runs-on: ubuntu-latest
# ubuntu 24.04 doesn't have LLVM 15(https://apt.llvm.org/noble/dists/),
# so we use 22.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand Down