fix: use default container with Go install
Some checks failed
Test CI / test (push) Failing after 57s

This commit is contained in:
Frank Fuentes 2026-04-24 11:53:18 -07:00
parent 4611dd02b6
commit d1d782e86b

View file

@ -5,8 +5,13 @@ on: [push]
jobs: jobs:
test: test:
runs-on: docker runs-on: docker
container:
image: golang:1.23-bookworm
steps: steps:
- uses: https://code.forgejo.org/actions/checkout@v4 - uses: https://code.forgejo.org/actions/checkout@v4
- run: go test -v ./... - name: Install Go
run: |
apt-get update && apt-get install -y wget
wget -q https://go.dev/dl/go1.23.8.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.23.8.linux-amd64.tar.gz
echo "/usr/local/go/bin" >> $GITHUB_PATH
- name: Run tests
run: go test -v ./...