fix: use setup-go action instead of container image for CI tests

This commit is contained in:
Tiago Yamamoto 2025-12-28 01:32:56 -03:00
parent a5bb7b2a31
commit 9c38c5f6c2

View file

@ -11,12 +11,16 @@ jobs:
# Job 1: Run Backend Tests
test-backend:
runs-on: docker
container:
image: golang:1.24-alpine
steps:
- name: Checkout code
uses: https://github.com/actions/checkout@v4
- name: Setup Go
uses: https://github.com/actions/setup-go@v5
with:
go-version: '1.24'
cache-dependency-path: backend/go.sum
- name: Install dependencies
run: |
cd backend