CI Fix
This commit is contained in:
@@ -17,19 +17,8 @@ jobs:
|
||||
run: |
|
||||
docker build -t go-api-test .
|
||||
|
||||
compose-test:
|
||||
name: Docker Compose Validation
|
||||
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
|
||||
go-test:
|
||||
name: Go Vet (basic static check)
|
||||
runs-on: docker-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
@@ -41,6 +30,16 @@ jobs:
|
||||
- name: Go Vet (basic static check)
|
||||
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
|
||||
run: |
|
||||
mkdir -p build
|
||||
|
||||
Reference in New Issue
Block a user