maybe found problem
This commit is contained in:
@@ -19,8 +19,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version-file: 'go.mod'
|
go-version-file: 'go.mod'
|
||||||
- name: setup-dependencies
|
- name: setup-dependencies
|
||||||
run: |
|
run: |-
|
||||||
apt install mingw-w64 gcc
|
apt install mingw-w64 gcc
|
||||||
- name: Build
|
- name: Build
|
||||||
run: go build -v ./...
|
run: go build -v ./...
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
@@ -28,9 +28,9 @@ jobs:
|
|||||||
- name: Check Vet
|
- name: Check Vet
|
||||||
run: go vet ./...
|
run: go vet ./...
|
||||||
- name: Check Formatting
|
- name: Check Formatting
|
||||||
run: |
|
run: |-
|
||||||
gofmt -s -l .
|
gofmt -s -l .
|
||||||
if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi
|
if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi
|
||||||
- name: Check Lint
|
- name: Check Lint
|
||||||
uses: golangci/golangci-lint-action@v3
|
uses: golangci/golangci-lint-action@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ jobs:
|
|||||||
go-version-file: 'go.mod'
|
go-version-file: 'go.mod'
|
||||||
- name: setup-dependencies
|
- name: setup-dependencies
|
||||||
run: |
|
run: |
|
||||||
apt install mingw-w64 gcc
|
apt install mingw-w64 gcc
|
||||||
- name: release-build-linux
|
- name: release-build-linux
|
||||||
run: GOOS=linux GOARCH=amd64 go build -ldflags="-s -w -X 's1d3sw1ped/vulture/config.BuildVersion=${{github.ref_name}}'" -o bin/vulture-${{github.ref_name}}-linux-amd64
|
run: GOOS=linux GOARCH=amd64 go build -ldflags="-s -w -X 's1d3sw1ped/vulture/config.BuildVersion=${{github.ref_name}}'" -o bin/vulture-${{github.ref_name}}-linux-amd64
|
||||||
- name: release-build-windows
|
- name: release-build-windows
|
||||||
|
|||||||
Reference in New Issue
Block a user