Skip to content

Commit deb5390

Browse files
authored
chore(actions): swap to ARM Runners (#1410)
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
1 parent 4bcb58b commit deb5390

8 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/fuzz.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ permissions: {}
3838
jobs:
3939
discover:
4040
if: ${{ github.repository == 'chainguard-dev/malcontent' }}
41-
runs-on: ubuntu-latest
41+
runs-on: ubuntu-24.04-arm
4242
permissions:
4343
contents: read
4444
outputs:
@@ -96,7 +96,7 @@ jobs:
9696
fuzz:
9797
if: ${{ github.repository == 'chainguard-dev/malcontent' && needs.discover.outputs.targets != '[]' }}
9898
needs: discover
99-
runs-on: ${{ matrix.target.test == 'FuzzExtractArchive' && 'ubuntu-latest-8-core' || 'ubuntu-latest' }}
99+
runs-on: ${{ matrix.target.test == 'FuzzExtractArchive' && 'ubuntu-latest-arm-8-core' || 'ubuntu-24.04-arm' }}
100100
permissions:
101101
contents: read
102102
strategy:

.github/workflows/go-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ permissions: {}
2020
jobs:
2121
test:
2222
if: ${{ github.repository == 'chainguard-dev/malcontent' }}
23-
runs-on: ubuntu-latest-16-core
23+
runs-on: ubuntu-latest-arm-16-core
2424
permissions:
2525
contents: read
2626
container:
@@ -71,7 +71,7 @@ jobs:
7171

7272
integration:
7373
if: ${{ github.repository == 'chainguard-dev/malcontent' }}
74-
runs-on: ubuntu-latest-32-core
74+
runs-on: ubuntu-latest-arm-16-core
7575
permissions:
7676
contents: read
7777
container:

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
jobs:
1515
tag:
1616
if: ${{ github.repository == 'chainguard-dev/malcontent' }}
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-24.04-arm
1818
permissions:
1919
id-token: write
2020
contents: write

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ permissions: {}
2222
jobs:
2323
analysis:
2424
name: Scorecard analysis
25-
runs-on: ubuntu-latest
25+
runs-on: ubuntu-24.04-arm
2626
permissions:
2727
# Needed to upload the results to code-scanning dashboard.
2828
security-events: write

.github/workflows/style.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020
jobs:
2121
yrcompile:
2222
name: check yr compile
23-
runs-on: ubuntu-latest
23+
runs-on: ubuntu-24.04-arm
2424
permissions:
2525
contents: read
2626
steps:
@@ -45,7 +45,7 @@ jobs:
4545
4646
yrfmt:
4747
name: check yr fmt
48-
runs-on: ubuntu-latest
48+
runs-on: ubuntu-24.04-arm
4949
permissions:
5050
contents: read
5151
steps:
@@ -61,7 +61,7 @@ jobs:
6161

6262
- name: Install yara-x
6363
run: |
64-
wget https://github.com/VirusTotal/yara-x/releases/download/v${{ env.YARA_X_RELEASE }}/yara-x-v${{ env.YARA_X_RELEASE }}-x86_64-unknown-linux-gnu.gz -O yara-x.gz
64+
wget https://github.com/VirusTotal/yara-x/releases/download/v${{ env.YARA_X_RELEASE }}/yara-x-v${{ env.YARA_X_RELEASE }}-aarch64-unknown-linux-gnu.gz -O yara-x.gz
6565
gunzip yara-x.gz && tar -xvf yara-x && chmod +x yr && mv yr /usr/local/bin/ && rm yara-x
6666
- name: Verify yr installation
6767
run: |
@@ -76,7 +76,7 @@ jobs:
7676
7777
gofmt:
7878
name: check gofmt
79-
runs-on: ubuntu-latest
79+
runs-on: ubuntu-24.04-arm
8080
permissions:
8181
contents: read
8282
steps:
@@ -102,7 +102,7 @@ jobs:
102102

103103
goimports:
104104
name: check goimports
105-
runs-on: ubuntu-latest
105+
runs-on: ubuntu-24.04-arm
106106
permissions:
107107
contents: read
108108
steps:
@@ -126,7 +126,7 @@ jobs:
126126

127127
golangci-lint:
128128
name: golangci-lint
129-
runs-on: ubuntu-latest
129+
runs-on: ubuntu-24.04-arm
130130
permissions:
131131
contents: read
132132
container:

.github/workflows/third-party.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions: {}
1717
jobs:
1818
update:
1919
if: ${{ github.repository == 'chainguard-dev/malcontent' }}
20-
runs-on: ubuntu-latest-16-core
20+
runs-on: ubuntu-latest-arm-16-core
2121
container:
2222
image: cgr.dev/chainguard/wolfi-base:latest
2323
options: >-

.github/workflows/version.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ env:
2020
jobs:
2121
version:
2222
if: ${{ github.repository == 'chainguard-dev/malcontent' }}
23-
runs-on: ubuntu-latest
23+
runs-on: ubuntu-24.04-arm
2424
permissions:
2525
contents: write
2626
id-token: write

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ ifeq ($(LINT_OS),Darwin)
6262
YARA_X_SHA = 226dce240b8d674db3c83b5c0b6d336268a46f1fbd6718fa9bdeb3735857f6c4
6363
endif
6464
else ifeq ($(LINT_OS),Linux)
65-
ifeq ($(shell uname -m),arm64)
65+
ifneq ($(filter $(shell uname -m),aarch64 arm64),)
6666
LINT_ARCH = aarch64
6767
YARA_X_SHA = a50e9b593c5a6039c227f665b8ade1ea1c4bee3be5789add3e33f033cbf427ae
6868
else

0 commit comments

Comments
 (0)