fix: use default container with Go install
Some checks failed
Test CI / test (push) Failing after 57s
Some checks failed
Test CI / test (push) Failing after 57s
This commit is contained in:
parent
4611dd02b6
commit
d1d782e86b
1 changed files with 8 additions and 3 deletions
|
|
@ -5,8 +5,13 @@ on: [push]
|
|||
jobs:
|
||||
test:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: golang:1.23-bookworm
|
||||
steps:
|
||||
- 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 ./...
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue