From 64336b1c23892d549d80618891c8a915ecde19dc Mon Sep 17 00:00:00 2001 From: lab Date: Wed, 15 Nov 2023 22:01:19 +0800 Subject: [PATCH] fix: remove setup-go image of runs-on --- .github/workflows/ci-demo.yaml | 2 +- .github/workflows/setup-go.yaml | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci-demo.yaml b/.github/workflows/ci-demo.yaml index afd0eb6..059a3d2 100644 --- a/.github/workflows/ci-demo.yaml +++ b/.github/workflows/ci-demo.yaml @@ -1,5 +1,5 @@ name: Github Actions CI Demo -run-name: ${{ github.actor }} is testing out Github Actions 🚀 +run-name: ${{ github.actor }} is testing out Github Actions of docker 🚀 on: push: diff --git a/.github/workflows/setup-go.yaml b/.github/workflows/setup-go.yaml index dce0133..c2a10ac 100644 --- a/.github/workflows/setup-go.yaml +++ b/.github/workflows/setup-go.yaml @@ -1,5 +1,5 @@ name: Test setup-go Actions -run-name: ${{ github.actor }} is testing out Github Actions 🚀 +run-name: ${{ github.actor }} is testing out Github Actions of setup-go 🚀 on: push: @@ -7,10 +7,8 @@ on: - "main" jobs: - Explore-Actions: + Explore-Github-Actions: runs-on: ubuntu-latest - container: - image: catthehacker/ubuntu:act-latest steps: - name: Show details @@ -21,15 +19,15 @@ jobs: - name: Checkout repository code uses: actions/checkout@v4 - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - name: List files in the repository run: | echo "💡 The ${{ github.repository }} repository has been cloned to the runner." echo "🖥️ The workflow is now ready to test your code on the runner." ls ${{ github.workspace }} + - + name: Set up QEMU + uses: docker/setup-qemu-action@v3 - name: Setup golang uses: actions/setup-go@v4