From 168b0b8318af5f35a8f26344e5a0e28a77ed0b38 Mon Sep 17 00:00:00 2001 From: Ricardo Melo Date: Tue, 19 Jul 2022 11:19:16 -0400 Subject: [PATCH] Fixing golint errors --- build_release.yaml | 49 ---------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 build_release.yaml diff --git a/build_release.yaml b/build_release.yaml deleted file mode 100644 index 5b021ff..0000000 --- a/build_release.yaml +++ /dev/null @@ -1,49 +0,0 @@ -name: github_action_test -on: - push: - branches: - - main -jobs: - build-project: - strategy: - matrix: - go: [1.18] - #os: [ubuntu] - os: [macos, ubuntu] - name: Build golang application - runs-on: ${{ matrix.os}}-latest - steps: - - name: Checkout code - uses: actions/checkout@v3 - - name: Setup Go environment - uses: actions/setup-go@v3 - with: - go-version: ${{ matrix.go }} - - name: golangci-lint - uses: golangci/golangci-lint-action@v3 - - run: go build -o test-${{ matrix.os }} - - name: Upload artifacts - uses: actions/upload-artifact@v3 - with: - name: test-${{ matrix.os }} - path: ./ - release-project: - strategy: - matrix: - #os: [macos, windows, ubuntu] - os: [ubuntu] - name: Release golang application - runs-on: ubuntu-latest - needs: build-project - steps: - - name: Download applications - uses: actions/download-artifact@v3 - #with: - #name: test-${{ matrix.os }} - - run: ls -la - - name: Create Github release - uses: ncipollo/release-action@v1 - with: - tag: test - allowUpdates: true - artifacts: "**/test-*"