fix: use setup-go action instead of container image for CI tests
This commit is contained in:
parent
a5bb7b2a31
commit
9c38c5f6c2
1 changed files with 6 additions and 2 deletions
|
|
@ -11,12 +11,16 @@ jobs:
|
||||||
# Job 1: Run Backend Tests
|
# Job 1: Run Backend Tests
|
||||||
test-backend:
|
test-backend:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
|
||||||
image: golang:1.24-alpine
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: https://github.com/actions/checkout@v4
|
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
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
cd backend
|
cd backend
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue