From b927f7064de8d464893819eabab31a3d37772ddd Mon Sep 17 00:00:00 2001 From: Tomas Touceda Date: Thu, 5 Aug 2021 13:16:49 -0300 Subject: [PATCH] Fix workflows --- .../workflows/orbit-golangci-lint.yml | 1 + orbit/.github/workflows/go.yml | 32 ------------------- 2 files changed, 1 insertion(+), 32 deletions(-) rename orbit/.github/workflows/golangci-lint.yml => .github/workflows/orbit-golangci-lint.yml (92%) delete mode 100644 orbit/.github/workflows/go.yml diff --git a/orbit/.github/workflows/golangci-lint.yml b/.github/workflows/orbit-golangci-lint.yml similarity index 92% rename from orbit/.github/workflows/golangci-lint.yml rename to .github/workflows/orbit-golangci-lint.yml index 99a2b6d485..7b4a552985 100644 --- a/orbit/.github/workflows/golangci-lint.yml +++ b/.github/workflows/orbit-golangci-lint.yml @@ -17,3 +17,4 @@ jobs: # specified without patch version: we always use the latest patch # version. version: v1.33 + working-directory: orbit/ diff --git a/orbit/.github/workflows/go.yml b/orbit/.github/workflows/go.yml deleted file mode 100644 index 366e2852eb..0000000000 --- a/orbit/.github/workflows/go.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: build-go - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -jobs: - - build: - name: Build - runs-on: ubuntu-latest - steps: - - - name: Set up Go 1.x - uses: actions/setup-go@v2 - with: - go-version: ^1.15 - - - name: Check out code into the Go module directory - uses: actions/checkout@v2 - - - name: Get dependencies - run: | - go get -v -t -d ./... - - - name: Build - run: go build -v ./... - - - name: Test - run: go test -v ./...