Skip to content

Commit ca58b95

Browse files
authored
Bump SBT to 1.9.8 and update Ubuntu runners (#3734)
* Bump SBT to latest (1.9.8) * [CI] Change all ubuntu runners to ubuntu-22.04 This bumps some things running on the older runner which seems to have a problem with SBT 1.9.8. It also removes any uses of ubuntu-latest to ensure that we control the version explicitly.
1 parent dd81b27 commit ca58b95

11 files changed

+26
-26
lines changed

.github/workflows/backport-fixup.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919
jobs:
2020
resolve_prs:
2121
name: Resolve PRs
22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-22.04
2323
# If triggering PR actually is a backport, then original_pr will be set
2424
outputs:
2525
backport_pr: ${{ steps.backport.outputs.pr }}
@@ -50,7 +50,7 @@ jobs:
5050
5151
fixup_backport:
5252
name: Fixup the backport PR
53-
runs-on: ubuntu-latest
53+
runs-on: ubuntu-22.04
5454
needs: [resolve_prs]
5555
if: ${{ needs.resolve_prs.outputs.original_pr }}
5656

.github/workflows/build-scala-cli-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
build_template:
1212
name: Build and Test
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-22.04
1414

1515
steps:
1616
- name: Checkout

.github/workflows/cd-circt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
jobs:
1616
cd-circt:
1717
name: 'Check Version, Create PR'
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-22.04
1919
steps:
2020
- name: 'circt/update-circt'
2121
uses: circt/update-circt@v1.0.0

.github/workflows/ci-circt-nightly.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
jobs:
2222
determine-branch:
2323
name: 'Update Staging Branch and Determine Target Branch'
24-
runs-on: ubuntu-latest
24+
runs-on: ubuntu-22.04
2525
steps:
2626
- name: Update Staging Branch
2727
uses: circt/update-staging-branch@v1.2.0
@@ -44,7 +44,7 @@ jobs:
4444
needs: [determine-branch]
4545
strategy:
4646
matrix:
47-
system: ["ubuntu-20.04"]
47+
system: ["ubuntu-22.04"]
4848
jvm: [8]
4949
scala: ["2.13.12"]
5050
espresso: ["2.4"]
@@ -65,7 +65,7 @@ jobs:
6565
check-tests:
6666
name: "check tests"
6767
needs: [ci]
68-
runs-on: ubuntu-20.04
68+
runs-on: ubuntu-22.04
6969
outputs:
7070
success: ${{ steps.setoutput.outputs.success }}
7171
steps:
@@ -80,7 +80,7 @@ jobs:
8080
# See: https://brunoscheufler.com/blog/2022-04-09-the-required-github-status-check-that-wasnt
8181
all_tests_passed:
8282
name: "all tests passed"
83-
runs-on: ubuntu-20.04
83+
runs-on: ubuntu-22.04
8484
if: always() # Always run so that we never skip this check
8585
needs: check-tests
8686
# Pass only if check-tests set its output value

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
name: ci
1818
strategy:
1919
matrix:
20-
system: ["ubuntu-20.04"]
20+
system: ["ubuntu-22.04"]
2121
jvm: [8]
2222
scala: ["2.13.12"]
2323
espresso: ["2.4"]
@@ -34,7 +34,7 @@ jobs:
3434
check-tests:
3535
name: "check tests"
3636
needs: ci
37-
runs-on: ubuntu-20.04
37+
runs-on: ubuntu-22.04
3838
outputs:
3939
success: ${{ steps.setoutput.outputs.success }}
4040
steps:
@@ -49,7 +49,7 @@ jobs:
4949
# See: https://brunoscheufler.com/blog/2022-04-09-the-required-github-status-check-that-wasnt
5050
all_tests_passed:
5151
name: "all tests passed"
52-
runs-on: ubuntu-20.04
52+
runs-on: ubuntu-22.04
5353
if: always() # Always run so that we never skip this check
5454
needs: check-tests
5555
# Pass only if check-tests set its output value
@@ -68,7 +68,7 @@ jobs:
6868
# separate from a Scala versions build matrix to avoid duplicate publishing
6969
publish:
7070
needs: [all_tests_passed]
71-
runs-on: ubuntu-20.04
71+
runs-on: ubuntu-22.04
7272
if: github.event_name == 'push'
7373

7474
steps:
@@ -101,7 +101,7 @@ jobs:
101101
102102
deploy_website:
103103
name: Deploy Website
104-
runs-on: ubuntu-latest
104+
runs-on: ubuntu-22.04
105105
needs: [all_tests_passed]
106106
# Only Deploy website on pushes to main, may change to a stable branch
107107
if: (github.event_name == 'push') && (github.ref_name == 'main')

.github/workflows/enable-bincompat-checking.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ permissions:
1616
jobs:
1717
determine_version:
1818
name: Determine Version
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-22.04
2020
outputs:
2121
version: ${{ steps.dowork.outputs.version }}
2222

@@ -31,7 +31,7 @@ jobs:
3131
3232
determine_branches:
3333
name: Determine Branches
34-
runs-on: ubuntu-latest
34+
runs-on: ubuntu-22.04
3535
needs: [determine_version]
3636
outputs:
3737
branches: ${{ steps.determine-branches.outputs.branches }}
@@ -63,7 +63,7 @@ jobs:
6363
6464
open_prs:
6565
name: Open Pull Requests
66-
runs-on: ubuntu-latest
66+
runs-on: ubuntu-22.04
6767
needs: [determine_version, determine_branches]
6868
strategy:
6969
matrix:

.github/workflows/release-notes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
jobs:
1919
generate_release_notes:
2020
name: Generate Release Notes
21-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-22.04
2222

2323
steps:
2424
- name: Checkout

.github/workflows/require-label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
jobs:
1515
check_labels:
1616
name: Check Labels
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-22.04
1818
steps:
1919
- uses: docker://agilepathway/pull-request-label-checker:v1.4.25
2020
with:

.github/workflows/scala-cli-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
publish_template:
1414
name: Generate Scala CLI Template
1515
needs: [generate_scala_cli_template]
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-22.04
1717

1818
steps:
1919
- name: Download Generated CLI Template

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
inputs:
66
system:
77
description: 'The GitHub runner to use'
8-
default: 'ubuntu-20.04'
8+
default: 'ubuntu-22.04'
99
required: true
1010
type: string
1111
jvm:
@@ -84,7 +84,7 @@ jobs:
8484

8585
mill:
8686
name: compile project with mill
87-
runs-on: ubuntu-20.04
87+
runs-on: ubuntu-22.04
8888
steps:
8989
- name: Checkout
9090
uses: actions/checkout@v3
@@ -124,7 +124,7 @@ jobs:
124124
125125
doc:
126126
name: Formatting
127-
runs-on: ubuntu-20.04
127+
runs-on: ubuntu-22.04
128128
steps:
129129
- name: Checkout
130130
uses: actions/checkout@v3
@@ -141,7 +141,7 @@ jobs:
141141

142142
integration:
143143
name: Integration Tests
144-
runs-on: ubuntu-20.04
144+
runs-on: ubuntu-22.04
145145
steps:
146146
- name: Checkout
147147
uses: actions/checkout@v3
@@ -175,7 +175,7 @@ jobs:
175175

176176
std:
177177
name: Standard Library Tests
178-
runs-on: ubuntu-20.04
178+
runs-on: ubuntu-22.04
179179
strategy:
180180
matrix:
181181
scala: ["2.13.12"]
@@ -199,7 +199,7 @@ jobs:
199199

200200
website:
201201
name: Build Mdoc & Website
202-
runs-on: ubuntu-latest
202+
runs-on: ubuntu-22.04
203203

204204
steps:
205205
- name: Checkout

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.9.0
1+
sbt.version=1.9.8

0 commit comments

Comments
 (0)