From 42b81bcf1d89f62cc483ee524689059acd6a237c Mon Sep 17 00:00:00 2001 From: Benjamin Quorning Date: Wed, 4 Sep 2024 10:52:24 +0200 Subject: [PATCH] CI: Use arm64 runners --- .github/workflows/codespell.yml | 2 +- .github/workflows/linting.yml | 4 ++-- .github/workflows/main.yml | 12 ++++++------ .github/workflows/publish.yml | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 3a7b82333..9b1776d13 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -7,7 +7,7 @@ concurrency: jobs: codespell: name: CodeSpell - runs-on: ubuntu-latest + runs-on: [ubuntu-latest, arm64] steps: - uses: actions/checkout@v4 - name: CodeSpell diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 9876c082e..54e9271d3 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -7,7 +7,7 @@ concurrency: jobs: yamllint: name: Yamllint - runs-on: ubuntu-latest + runs-on: [ubuntu-latest, arm64] steps: - uses: actions/checkout@v4 - name: Yamllint @@ -20,7 +20,7 @@ jobs: GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} mdformat: name: Mdformat - runs-on: ubuntu-latest + runs-on: [ubuntu-latest, arm64] steps: - uses: actions/checkout@v4 - name: Mdformat diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 785a677df..4daa0b1d1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ concurrency: jobs: confirm_config_and_documentation: - runs-on: ubuntu-latest + runs-on: [ubuntu-latest, arm64] name: Confirm config and documentation steps: - uses: actions/checkout@v4 @@ -23,7 +23,7 @@ jobs: - run: bundle exec rake confirm_config documentation_syntax_check confirm_documentation main: - runs-on: ubuntu-latest + runs-on: [ubuntu-latest, arm64] strategy: matrix: ruby: @@ -47,7 +47,7 @@ jobs: - run: NO_COVERAGE=true bundle exec rake ${{ matrix.task }} coverage: - runs-on: ubuntu-latest + runs-on: [ubuntu-latest, arm64] name: "Test coverage" steps: - uses: actions/checkout@v4 @@ -58,7 +58,7 @@ jobs: - run: bundle exec rake spec edge-rubocop: - runs-on: ubuntu-latest + runs-on: [ubuntu-latest, arm64] strategy: matrix: task: @@ -79,7 +79,7 @@ jobs: - run: NO_COVERAGE=true bundle exec rake ${{ matrix.task }} oldest-rubocop: - runs-on: ubuntu-latest + runs-on: [ubuntu-latest, arm64] strategy: matrix: task: @@ -100,7 +100,7 @@ jobs: - run: NO_COVERAGE=true bundle exec rake ${{ matrix.task }} rspec4: - runs-on: ubuntu-latest + runs-on: [ubuntu-latest, arm64] name: RSpec 4 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index de3c2d7ae..21ac29d77 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,7 +6,7 @@ on: jobs: publish: name: Publish to RubyGems - runs-on: ubuntu-latest + runs-on: [ubuntu-latest, arm64] permissions: contents: write id-token: write