use setup-go action instead of container
All checks were successful
irc build / Checkout (push) Successful in 2m41s

This commit is contained in:
blackbeard420 2025-03-06 22:27:53 -05:00
parent 49894c7af3
commit 05ea1b328e

View File

@ -8,20 +8,10 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v4
- run: |
ls -la
pwd
ls -la /
Build:
runs-on: ubuntu-latest
container:
image: golang
options: --user root
steps:
- run: |
ls -la /
ls -la /workspace
find /workspace
- name: Run go build
run: go build
- name: Setup golang
uses: actions/setup-go@v5
with:
go-version: '>=1.23'
- run: go version
- run: go build
- run: go test