Skip to content

Commit 01d347d

Browse files
committed
Fix CI/CD
The versions of the containers we were running are ancient. This change brings them up to modernity once more.
1 parent 74cbdb2 commit 01d347d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
ci:
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-24.04
1212

1313
steps:
1414
- uses: actions/checkout@v2
@@ -32,10 +32,10 @@ jobs:
3232
run: cargo doc
3333

3434
nix:
35-
runs-on: ubuntu-20.04
35+
runs-on: ubuntu-24.04
3636
steps:
3737
- uses: actions/checkout@v2
38-
- uses: actions/cache@v2
38+
- uses: actions/cache@v4
3939
with:
4040
path: /nix
4141
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ on:
1010
jobs:
1111

1212
release:
13-
# Should match the version that Polygott uses.
14-
runs-on: ubuntu-18.04
13+
# Should match the version reported by /etc/lsb-release on Repls.
14+
runs-on: ubuntu-24.04
1515

1616
steps:
1717
- uses: actions/checkout@v2

src/rfb.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ impl RfbConnection {
8080
})
8181
}
8282

83-
pub fn split(&mut self) -> (ReadHalf, WriteHalf) {
83+
pub fn split<'a>(&'a mut self) -> (ReadHalf<'a>, WriteHalf<'a>) {
8484
let (rs, ws) = self.stream.split();
8585
(
8686
ReadHalf {

0 commit comments

Comments
 (0)