diff --git a/.github/actionlint.yml b/.github/actionlint.yml index 62bee747e6f0..9ffc000795d3 100644 --- a/.github/actionlint.yml +++ b/.github/actionlint.yml @@ -1,4 +1,4 @@ self-hosted-runner: labels: - - custom-arm64-focal - custom-arm64-jammy + - custom-arm64-noble diff --git a/.github/actions/install-focal-deps/action.yml b/.github/actions/install-focal-deps/action.yml deleted file mode 100644 index 0770ca11a6d6..000000000000 --- a/.github/actions/install-focal-deps/action.yml +++ /dev/null @@ -1,16 +0,0 @@ -# This action installs dependencies missing from the default -# focal image used by arm64 github workers. -# -# TODO(marun): Find an image with the required dependencies already installed. - -name: 'Install focal arm64 dependencies' -description: 'Installs the dependencies required to build avalanchego on an arm64 github worker running Ubuntu 20.04 (focal)' - -runs: - using: composite - steps: - - name: Install build-essential - run: | - sudo apt update - sudo apt -y install build-essential - shell: bash diff --git a/.github/workflows/build-linux-binaries.yml b/.github/workflows/build-linux-binaries.yml index c59192883c0a..8781ba6f1849 100644 --- a/.github/workflows/build-linux-binaries.yml +++ b/.github/workflows/build-linux-binaries.yml @@ -74,7 +74,7 @@ jobs: rm -rf /tmp/avalanchego build-arm64-binaries-tarball: - runs-on: custom-arm64-focal + runs-on: custom-arm64-jammy permissions: id-token: write contents: read @@ -82,8 +82,6 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: ./.github/actions/install-focal-deps - - uses: ./.github/actions/setup-go-for-project - run: go version @@ -124,7 +122,7 @@ jobs: TAG: ${{ env.TAG }} BUCKET: ${{ secrets.BUCKET }} ARCH: "arm64" - RELEASE: "focal" + RELEASE: "jammy" - name: Save as Github artifact uses: actions/upload-artifact@v4 diff --git a/.github/workflows/build-ubuntu-arm64-release.yml b/.github/workflows/build-ubuntu-arm64-release.yml index 0443487b55e4..1a8e7e118ad2 100644 --- a/.github/workflows/build-ubuntu-arm64-release.yml +++ b/.github/workflows/build-ubuntu-arm64-release.yml @@ -71,15 +71,14 @@ jobs: rm -rf ./build rm -rf /tmp/avalanchego - build-focal-arm64-package: - runs-on: custom-arm64-focal + build-noble-arm64-package: + runs-on: custom-arm64-noble permissions: id-token: write contents: read steps: - uses: actions/checkout@v4 - - uses: ./.github/actions/install-focal-deps - uses: ./.github/actions/setup-go-for-project - run: go version @@ -119,12 +118,12 @@ jobs: TAG: ${{ env.TAG }} BUCKET: ${{ secrets.BUCKET }} ARCH: "arm64" - RELEASE: "focal" + RELEASE: "noble" - name: Save as Github artifact uses: actions/upload-artifact@v4 with: - name: focal + name: noble path: /tmp/avalanchego/avalanchego-${{ env.TAG }}-arm64.deb - name: Cleanup