Skip to content

Commit

Permalink
Update ubuntu to 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
slhmy committed May 19, 2024
1 parent 9f723fb commit 9b0969b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/rust-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:

jobs:
check:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
Expand All @@ -20,11 +20,7 @@ jobs:
- name: Run clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libseccomp-dev protobuf-compiler gcc-11 g++-11
- name: Setup gcc/g++ 11
run: |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 100
run: sudo apt-get update && sudo apt-get install -y libseccomp-dev protobuf-compiler
- name: Check ENV
run: echo $(rustup --version && g++ -v)
- name: Build test dist
Expand Down

0 comments on commit 9b0969b

Please sign in to comment.