Skip to content

Commit 90e0201

Browse files
committed
ci: set all runners to ubuntu-latest
It may be that ubuntu-latest breaks us, but we're not doing anything particularly exotic so it seems unlikely. Meanwhile, our use of ubuntu-20.04 HAS broken us, because that runner is no longer supported. Meanwhile also update a bunch of our action versions to v4, since some of the v2s have become deprecated and removed. (Hopefully this won't happen very often.)
1 parent 5059407 commit 90e0201

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/fuzz.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
fuzz:
1313
if: ${{ !github.event.act }}
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-latest
1515
strategy:
1616
fail-fast: false
1717
matrix:
@@ -28,8 +28,8 @@ roundtrip_semantic,
2828
steps:
2929
- name: Install test dependencies
3030
run: sudo apt-get update -y && sudo apt-get install -y binutils-dev libunwind8-dev libcurl4-openssl-dev libelf-dev libdw-dev cmake gcc libiberty-dev
31-
- uses: actions/checkout@v2
32-
- uses: actions/cache@v2
31+
- uses: actions/checkout@v4
32+
- uses: actions/cache@v4
3333
id: cache-fuzz
3434
with:
3535
path: |
@@ -45,7 +45,7 @@ roundtrip_semantic,
4545
- name: fuzz
4646
run: cd fuzz && ./fuzz.sh "${{ matrix.fuzz_target }}"
4747
- run: echo "${{ matrix.fuzz_target }}" >executed_${{ matrix.fuzz_target }}
48-
- uses: actions/upload-artifact@v2
48+
- uses: actions/upload-artifact@v4
4949
with:
5050
name: executed_${{ matrix.fuzz_target }}
5151
path: executed_${{ matrix.fuzz_target }}
@@ -55,8 +55,8 @@ roundtrip_semantic,
5555
needs: fuzz
5656
runs-on: ubuntu-latest
5757
steps:
58-
- uses: actions/checkout@v2
59-
- uses: actions/download-artifact@v2
58+
- uses: actions/checkout@v4
59+
- uses: actions/download-artifact@v4
6060
- name: Display structure of downloaded files
6161
run: ls -R
6262
- run: find executed_* -type f -exec cat {} + | sort > executed

.github/workflows/rust.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Continuous integration
44

55
jobs:
66
Prepare:
7-
runs-on: ubuntu-24.04
7+
runs-on: ubuntu-latest
88
outputs:
99
nightly_version: ${{ steps.read_toolchain.outputs.nightly_version }}
1010
steps:
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Checkout Crate
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v4
2424
- name: Checkout Toolchain
2525
uses: actions-rs/toolchain@v1
2626
with:
@@ -45,7 +45,7 @@ jobs:
4545
runs-on: ubuntu-latest
4646
steps:
4747
- name: Checkout Crate
48-
uses: actions/checkout@v2
48+
uses: actions/checkout@v4
4949
- name: Checkout Toolchain
5050
uses: actions-rs/toolchain@v1
5151
with:
@@ -70,7 +70,7 @@ jobs:
7070
- rust: 1.48
7171
steps:
7272
- name: Checkout Crate
73-
uses: actions/checkout@v2
73+
uses: actions/checkout@v4
7474
- name: Checkout Toolchain
7575
uses: actions-rs/toolchain@v1
7676
with:
@@ -88,7 +88,7 @@ jobs:
8888
runs-on: ubuntu-latest
8989
steps:
9090
- name: Checkout
91-
uses: actions/checkout@v2
91+
uses: actions/checkout@v4
9292
- name: Set up QEMU
9393
run: sudo apt update && sudo apt install -y qemu-system-arm gcc-arm-none-eabi
9494
- name: Checkout Toolchain

0 commit comments

Comments
 (0)