Skip to content

Commit

Permalink
Merge pull request #214 from cisagov/improvement/use-native-arm-runners
Browse files Browse the repository at this point in the history
Use native ARM runners when testing on ARM architecture
  • Loading branch information
jsf9k authored Jan 24, 2025
2 parents de58d6e + 7a3c694 commit be68cb2
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ jobs:
permissions:
# actions/checkout needs this to fetch code
contents: read
runs-on: ubuntu-latest
runs-on: ubuntu-${{ startsWith(matrix.architecture, 'arm') && '24.04-arm' || 'latest' }}
strategy:
fail-fast: false
matrix:
Expand All @@ -200,13 +200,10 @@ jobs:
scenario:
- default
steps:
# With this task in place the GitHub runners run out of
# resources and crash. See cisagov/skeleton-ansible-role#211
# for more details.
# - uses: GitHubSecurityLab/actions-permissions/monitor@v1
# with:
# # Uses the organization variable unless overridden
# config: ${{ vars.ACTIONS_PERMISSIONS_CONFIG }}
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
with:
# Uses the organization variable unless overridden
config: ${{ vars.ACTIONS_PERMISSIONS_CONFIG }}
- id: harden-runner
name: Harden the runner
uses: step-security/harden-runner@v2
Expand Down

0 comments on commit be68cb2

Please sign in to comment.