From 1eb2c09490cd12c2b403935b4e0383d3c8a5d63c Mon Sep 17 00:00:00 2001 From: Gal Topper Date: Thu, 4 Jan 2024 17:05:41 +0800 Subject: [PATCH] GitHub actions fixes --- .github/workflows/pr.yaml | 11 +---------- .github/workflows/push.yaml | 11 +---------- .github/workflows/release.yaml | 11 +---------- 3 files changed, 3 insertions(+), 30 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 6bc19cff..fa118661 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -25,7 +25,7 @@ jobs: name: Lint & test Go code runs-on: [ self-hosted, Linux ] container: - image: python:3.9.18 + image: golang:1.19 steps: - name: Dump github context @@ -41,10 +41,6 @@ jobs: - name: Dump github ref run: echo "$GITHUB_REF" - - uses: actions/setup-go@v3 - with: - go-version: 1.19.5 - - uses: actions/checkout@v3 with: ref: refs/pull/${{ github.event.number }}/merge @@ -83,11 +79,6 @@ jobs: with: ref: refs/pull/${{ github.event.number }}/merge - - name: Set up python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: 3.7 - - name: Install dependencies run: make python-deps diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 4283c3ad..13984a48 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -25,7 +25,7 @@ jobs: name: Lint & test Go code runs-on: [ self-hosted, Linux ] container: - image: python:3.9.18 + image: golang:1.19 steps: - name: Dump github context @@ -41,10 +41,6 @@ jobs: - name: Dump github ref run: echo "$GITHUB_REF" - - uses: actions/setup-go@v3 - with: - go-version: "^1.19.5" - - uses: actions/checkout@v3 # This gets killed, probably due to memory usage @@ -85,11 +81,6 @@ jobs: - uses: actions/checkout@v3 - - name: Set up python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: 3.7 - - name: Install dependencies run: make python-deps diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e15f12a8..6aaf26bc 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -24,7 +24,7 @@ jobs: name: Lint & test Go code runs-on: [ self-hosted, Linux ] container: - image: python:3.9.18 + image: golang:1.19 steps: - name: Dump github context @@ -40,10 +40,6 @@ jobs: - name: Dump github ref run: echo "$GITHUB_REF" - - uses: actions/setup-go@v3 - with: - go-version: "^1.19.5" - - uses: actions/checkout@v3 # This gets killed, probably due to memory usage @@ -84,11 +80,6 @@ jobs: - uses: actions/checkout@v3 - - name: Set up python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: 3.7 - - name: Install dependencies run: make python-deps