ci: bump ubuntu runner
Since our current runner was deprecated Link: https://github.com/actions/runner-images/issues/11101
This commit is contained in:
8
.github/workflows/rust.yml
vendored
8
.github/workflows/rust.yml
vendored
@@ -12,7 +12,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
name: Rustfmt + Clippy
|
name: Rustfmt + Clippy
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
name: Test (Linux)
|
name: Test (Linux)
|
||||||
uses: ./.github/workflows/build-and-test.yml
|
uses: ./.github/workflows/build-and-test.yml
|
||||||
with:
|
with:
|
||||||
os: ubuntu-20.04
|
os: ubuntu-22.04
|
||||||
additional-setup: |
|
additional-setup: |
|
||||||
sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev
|
sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev
|
||||||
|
|
||||||
@@ -44,7 +44,7 @@ jobs:
|
|||||||
|
|
||||||
packaging:
|
packaging:
|
||||||
name: rpm/deb
|
name: rpm/deb
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
needs: linux-test
|
needs: linux-test
|
||||||
if: github.ref_name == 'master' || github.ref_name == 'ci'
|
if: github.ref_name == 'master' || github.ref_name == 'ci'
|
||||||
|
|
||||||
@@ -255,7 +255,7 @@ jobs:
|
|||||||
|
|
||||||
upload-artifacts:
|
upload-artifacts:
|
||||||
name: Upload Artifacts to Server
|
name: Upload Artifacts to Server
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
needs: [packaging, macos-dmg, windows-installer]
|
needs: [packaging, macos-dmg, windows-installer]
|
||||||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/ci'
|
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/ci'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user