From cae2e50a3fbec2352b74331a09e0ee618522ac79 Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Thu, 7 Nov 2024 16:22:54 -0800 Subject: [PATCH] Run CI on ubuntu-24.04 Signed-off-by: Tamal Saha --- .github/workflows/ci.yml | 15 +-------------- .github/workflows/release-tracker.yml | 15 +-------------- .github/workflows/release.yml | 15 +-------------- 3 files changed, 3 insertions(+), 42 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f467fa..3a721f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,22 +14,9 @@ concurrency: cancel-in-progress: true jobs: - label-detector: - name: Runner Label - runs-on: label-detector - outputs: - runs-on: ${{ steps.detector.outputs.label }} - steps: - - name: Detect Label - id: detector - run: | - # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idoutputs - echo "label=$(curl -fsSL https://this-is-nats.appscode.ninja/runs-on/${{ github.repository_owner }}?visibility=${{ github.repository_visibility }})" >> $GITHUB_OUTPUT - build: name: Build - needs: label-detector - runs-on: "${{ needs.label-detector.outputs.runs-on }}" + runs-on: ubuntu-24.04 steps: - name: Set up Go 1.23 uses: actions/setup-go@v1 diff --git a/.github/workflows/release-tracker.yml b/.github/workflows/release-tracker.yml index 26a2ad8..c174f2d 100644 --- a/.github/workflows/release-tracker.yml +++ b/.github/workflows/release-tracker.yml @@ -10,22 +10,9 @@ concurrency: cancel-in-progress: true jobs: - label-detector: - name: Runner Label - runs-on: label-detector - outputs: - runs-on: ${{ steps.detector.outputs.label }} - steps: - - name: Detect Label - id: detector - run: | - # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idoutputs - echo "label=$(curl -fsSL https://this-is-nats.appscode.ninja/runs-on/${{ github.repository_owner }}?visibility=${{ github.repository_visibility }})" >> $GITHUB_OUTPUT - build: name: Build - needs: label-detector - runs-on: "${{ needs.label-detector.outputs.runs-on }}" + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b7a6f2a..86a962c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,22 +11,9 @@ concurrency: cancel-in-progress: true jobs: - label-detector: - name: Runner Label - runs-on: label-detector - outputs: - runs-on: ${{ steps.detector.outputs.label }} - steps: - - name: Detect Label - id: detector - run: | - # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idoutputs - echo "label=$(curl -fsSL https://this-is-nats.appscode.ninja/runs-on/${{ github.repository_owner }}?visibility=${{ github.repository_visibility }})" >> $GITHUB_OUTPUT - build: name: Build - needs: label-detector - runs-on: "${{ needs.label-detector.outputs.runs-on }}" + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v1