From 4557df86eddba50e712ac55dcc3c11486cf3e0ec Mon Sep 17 00:00:00 2001 From: Matt Date: Sun, 28 Dec 2025 00:28:20 -0500 Subject: [PATCH] Remove 32bit builds (#1000) * Remove 32bit builds * Use native Github runners * Fix arm builds not getting runner * Fix lint job --- .github/workflows/docker-publish-hardened.yaml | 11 ++++++----- .github/workflows/docker-publish-rootless.yaml | 11 ++++++----- .github/workflows/docker-publish.yaml | 11 ++++++----- .github/workflows/partial-frontend.yaml | 2 -- backend/.goreleaser.yaml | 14 -------------- 5 files changed, 18 insertions(+), 31 deletions(-) diff --git a/.github/workflows/docker-publish-hardened.yaml b/.github/workflows/docker-publish-hardened.yaml index 03e05357..5b08fa28 100644 --- a/.github/workflows/docker-publish-hardened.yaml +++ b/.github/workflows/docker-publish-hardened.yaml @@ -33,7 +33,7 @@ env: jobs: build: - runs-on: ubuntu-latest + runs-on: ${{ matrix.runner }} permissions: contents: read packages: write @@ -43,10 +43,11 @@ jobs: strategy: fail-fast: false matrix: - platform: - - linux/amd64 - - linux/arm64 - - linux/arm/v7 + include: + - platform: linux/amd64 + runner: ubuntu-latest + - platform: linux/arm64 + runner: ubuntu-24.04-arm steps: - name: Enable Debug Logs diff --git a/.github/workflows/docker-publish-rootless.yaml b/.github/workflows/docker-publish-rootless.yaml index b2765779..e20e4035 100644 --- a/.github/workflows/docker-publish-rootless.yaml +++ b/.github/workflows/docker-publish-rootless.yaml @@ -37,7 +37,7 @@ env: jobs: build: - runs-on: ubuntu-latest + runs-on: ${{ matrix.runner }} permissions: contents: read packages: write @@ -47,10 +47,11 @@ jobs: strategy: fail-fast: false matrix: - platform: - - linux/amd64 - - linux/arm64 - - linux/arm/v7 + include: + - platform: linux/amd64 + runner: ubuntu-latest + - platform: linux/arm64 + runner: ubuntu-24.04-arm steps: - name: Enable Debug Logs diff --git a/.github/workflows/docker-publish.yaml b/.github/workflows/docker-publish.yaml index 9bf0b657..84d2712b 100644 --- a/.github/workflows/docker-publish.yaml +++ b/.github/workflows/docker-publish.yaml @@ -37,7 +37,7 @@ permissions: jobs: build: - runs-on: ubuntu-latest + runs-on: ${{ matrix.runner }} permissions: contents: read # Allows access to repository contents (read-only) packages: write # Allows pushing to GHCR @@ -47,10 +47,11 @@ jobs: strategy: fail-fast: false matrix: - platform: - - linux/amd64 - - linux/arm64 - - linux/arm/v7 + include: + - platform: linux/amd64 + runner: ubuntu-latest + - platform: linux/arm64 + runner: ubuntu-24.04-arm steps: - name: Checkout repository diff --git a/.github/workflows/partial-frontend.yaml b/.github/workflows/partial-frontend.yaml index a06887da..0b2bac71 100644 --- a/.github/workflows/partial-frontend.yaml +++ b/.github/workflows/partial-frontend.yaml @@ -20,8 +20,6 @@ jobs: fetch-depth: 0 - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 - with: - version: 9.12.2 - name: Install dependencies run: pnpm install diff --git a/backend/.goreleaser.yaml b/backend/.goreleaser.yaml index d6b77631..1a25fc51 100644 --- a/backend/.goreleaser.yaml +++ b/backend/.goreleaser.yaml @@ -17,8 +17,6 @@ builds: - freebsd goarch: - amd64 - - "386" - - arm - arm64 - riscv64 flags: @@ -28,20 +26,9 @@ builds: - -X main.version={{.Version}} - -X main.commit={{.Commit}} - -X main.date={{.Date}} - ignore: - - goos: windows - goarch: arm - - goos: windows - goarch: "386" - - goos: freebsd - goarch: arm - - goos: freebsd - goarch: "386" tags: - >- {{- if eq .Arch "riscv64" }}nodynamic - {{- else if eq .Arch "arm" }}nodynamic - {{- else if eq .Arch "386" }}nodynamic {{- else if eq .Os "freebsd" }}nodynamic {{ end }} @@ -62,7 +49,6 @@ archives: {{ .ProjectName }}_ {{- title .Os }}_ {{- if eq .Arch "amd64" }}x86_64 - {{- else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }} {{- if .Arm }}v{{ .Arm }}{{ end }} # use zip for windows archives