Standardize on a GitHub Actions runner.
Apply with the Grit CLI
grit apply actions_runner
Examples
Ubuntu
Before:
BEFORE
name: grit-check on: push: branches: - main pull_request: branches: - '*' jobs: run: runs-on: ubuntu-latest steps: - name: Check out code uses: actions/checkout@v4 - name: grit-check uses: getgrit/github-action-check@v0
After:
AFTER
name: grit-check on: push: branches: - main pull_request: branches: - '*' jobs: run: runs-on: nscloud-ubuntu-22.04-amd64-4x16 steps: - name: Check out code uses: actions/checkout@v4 - name: grit-check uses: getgrit/github-action-check@v0
macOS
Namespace Cloud also supports macOS runners.
BEFORE
name: grit-check jobs: run: runs-on: macos-latest steps: - name: Check out code uses: actions/checkout@v4 - name: grit-check uses: getgrit/github-action-check@v0
AFTER
name: grit-check jobs: run: runs-on: nscloud-macos-4x16 steps: - name: Check out code uses: actions/checkout@v4 - name: grit-check uses: getgrit/github-action-check@v0