Skip to content

Commit

Permalink
chore: upgrade GitHub runners to version ubuntu-24.04 (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrekucci authored Jul 19, 2024
1 parent 02d3a22 commit 2de9999
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:

jobs:
upload_contracts:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 30

steps:
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
--tagging 'TagSet=[{Key=AutoDelete,Value=true}]'
upload_binaries:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 30
strategy:
matrix:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency:
jobs:
commitlint:
name: Check Commit Message
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 30

steps:
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:

go-modules:
name: Test and Build Go Modules
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 60

steps:
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:

foundry:
name: Foundry Checks and Reports
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 30
defaults:
run:
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:

contracts:
name: Test and Build Contracts Scripts
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 30
defaults:
run:
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:

- name: Install Hardhat
run: npm install -g hardhat

- name: Install solhint
run: npm install -g solhint

Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
git diff --name-only --exit-code . || (echo "Generated files not in parity with the source files." && exit 1)
git reset --hard HEAD
working-directory: contracts-abi

- name: Run solhint solidity linter
run: solhint '**/*.sol'
working-directory: contracts
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/infrastructure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ concurrency:
jobs:
cluster:
name: Setup and Test Nomad Cluster
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 180

steps:
Expand Down Expand Up @@ -134,6 +134,8 @@ jobs:
sudo add-apt-repository --yes ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install --yes goreleaser ethereum
python3 -m venv primevenv
source primevenv/bin/activate
pip install boto3 botocore
pipx inject ansible-core botocore boto3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:

jobs:
release:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 60
strategy:
matrix:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ job "{{ job.name }}" {
{% endfor %}

artifact {
source = "https://nodejs.org/dist/v18.16.1/node-v18.16.1-linux-{{ 'x64' if target_system_architecture == 'x86_64' else 'arm64' }}.tar.xz"
source = "https://nodejs.org/dist/v18.20.4/node-v18.20.4-linux-{{ 'x64' if target_system_architecture == 'x86_64' else 'arm64' }}.tar.xz"
options {
archive = false
}
Expand Down Expand Up @@ -135,7 +135,7 @@ job "{{ job.name }}" {

tar \
--extract \
--file local/node-v18.16.1-linux-{{ 'x64' if target_system_architecture == 'x86_64' else 'arm64' }}.tar.xz \
--file local/node-v18.20.4-linux-{{ 'x64' if target_system_architecture == 'x86_64' else 'arm64' }}.tar.xz \
--directory /usr/local \
--strip-components=1

Expand Down

0 comments on commit 2de9999

Please sign in to comment.