Skip to content

Commit be68cb2

Browse files
authored
Merge pull request #214 from cisagov/improvement/use-native-arm-runners
Use native ARM runners when testing on ARM architecture
2 parents de58d6e + 7a3c694 commit be68cb2

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ jobs:
177177
permissions:
178178
# actions/checkout needs this to fetch code
179179
contents: read
180-
runs-on: ubuntu-latest
180+
runs-on: ubuntu-${{ startsWith(matrix.architecture, 'arm') && '24.04-arm' || 'latest' }}
181181
strategy:
182182
fail-fast: false
183183
matrix:
@@ -200,13 +200,10 @@ jobs:
200200
scenario:
201201
- default
202202
steps:
203-
# With this task in place the GitHub runners run out of
204-
# resources and crash. See cisagov/skeleton-ansible-role#211
205-
# for more details.
206-
# - uses: GitHubSecurityLab/actions-permissions/monitor@v1
207-
# with:
208-
# # Uses the organization variable unless overridden
209-
# config: ${{ vars.ACTIONS_PERMISSIONS_CONFIG }}
203+
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
204+
with:
205+
# Uses the organization variable unless overridden
206+
config: ${{ vars.ACTIONS_PERMISSIONS_CONFIG }}
210207
- id: harden-runner
211208
name: Harden the runner
212209
uses: step-security/harden-runner@v2

0 commit comments

Comments
 (0)