fix: remove setup-go image of runs-on

This commit is contained in:
lab 2023-11-15 22:01:19 +08:00
parent 3441b00dbf
commit 64336b1c23
2 changed files with 6 additions and 8 deletions

View File

@ -1,5 +1,5 @@
name: Github Actions CI Demo 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: on:
push: push:

View File

@ -1,5 +1,5 @@
name: Test setup-go Actions 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: on:
push: push:
@ -7,10 +7,8 @@ on:
- "main" - "main"
jobs: jobs:
Explore-Actions: Explore-Github-Actions:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps: steps:
- -
name: Show details name: Show details
@ -21,15 +19,15 @@ jobs:
- -
name: Checkout repository code name: Checkout repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
- -
name: List files in the repository name: List files in the repository
run: | run: |
echo "💡 The ${{ github.repository }} repository has been cloned to the runner." echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
echo "🖥️ The workflow is now ready to test your code on the runner." echo "🖥️ The workflow is now ready to test your code on the runner."
ls ${{ github.workspace }} ls ${{ github.workspace }}
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
- -
name: Setup golang name: Setup golang
uses: actions/setup-go@v4 uses: actions/setup-go@v4