CI Fix
This commit is contained in:
@@ -17,19 +17,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
docker build -t go-api-test .
|
docker build -t go-api-test .
|
||||||
|
|
||||||
compose-test:
|
go-test:
|
||||||
name: Docker Compose Validation
|
name: Go Vet (basic static check)
|
||||||
runs-on: docker-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Validate docker-compose.yml
|
|
||||||
run: |
|
|
||||||
docker-compose config -q
|
|
||||||
|
|
||||||
go-build:
|
|
||||||
name: Go Build & Cross-Compile
|
|
||||||
runs-on: docker-latest
|
runs-on: docker-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@@ -41,6 +30,16 @@ jobs:
|
|||||||
- name: Go Vet (basic static check)
|
- name: Go Vet (basic static check)
|
||||||
run: go vet ./...
|
run: go vet ./...
|
||||||
|
|
||||||
|
go-build:
|
||||||
|
name: Go Build & Cross-Compile
|
||||||
|
runs-on: docker-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Check Go version
|
||||||
|
run: go version
|
||||||
|
|
||||||
- name: Build Linux binary
|
- name: Build Linux binary
|
||||||
run: |
|
run: |
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
|
|||||||
Reference in New Issue
Block a user