Skip to content

Commit

Permalink
Merge pull request #157 from oj-lab/slhmy/fix-workflow
Browse files Browse the repository at this point in the history
Update ubuntu to 22.04
  • Loading branch information
slhmy authored May 19, 2024
2 parents 9f723fb + 9b0969b commit 9fd24b7
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 9fd24b7

Please sign in to comment.