File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ permissions: {}
3838jobs :
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 :
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 :
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ permissions: {}
2020jobs :
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 :
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 :
Original file line number Diff line number Diff line change 1414jobs :
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
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ permissions: {}
2222jobs :
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
Original file line number Diff line number Diff line change 2020jobs :
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 :
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 :
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 : |
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 :
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ permissions: {}
1717jobs :
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 : >-
Original file line number Diff line number Diff line change 2020jobs :
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
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ ifeq ($(LINT_OS),Darwin)
6262 YARA_X_SHA = 226dce240b8d674db3c83b5c0b6d336268a46f1fbd6718fa9bdeb3735857f6c4
6363 endif
6464else 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
You can’t perform that action at this time.
0 commit comments