diff --git a/.github/workflows/rust-check.yml b/.github/workflows/rust-check.yml index e7d0ad1..01cb3a2 100644 --- a/.github/workflows/rust-check.yml +++ b/.github/workflows/rust-check.yml @@ -11,7 +11,7 @@ env: jobs: check: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 @@ -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