From f5ade2f992572dadb8c49250f5bb35a86d717f74 Mon Sep 17 00:00:00 2001 From: Tinyblargon <76069640+Tinyblargon@users.noreply.github.com> Date: Thu, 15 Aug 2024 21:37:10 +0200 Subject: [PATCH] fix --- .github/workflows/go.yml | 34 +++++----------------------------- 1 file changed, 5 insertions(+), 29 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 60d4bc9d..ef27dfbe 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -10,20 +10,8 @@ env: GO_VERSION: '1.19' jobs: - setup: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: ${{ env.GO_VERSION }} - check-latest: true - verify-dependencies: runs-on: ubuntu-latest - needs: setup steps: - name: Checkout code uses: actions/checkout@v2 @@ -37,7 +25,6 @@ jobs: build: runs-on: ubuntu-latest - needs: setup steps: - name: Checkout code uses: actions/checkout@v2 @@ -51,7 +38,6 @@ jobs: vet: runs-on: ubuntu-latest - needs: setup steps: - name: Checkout code uses: actions/checkout@v2 @@ -65,10 +51,14 @@ jobs: staticcheck: runs-on: ubuntu-latest - needs: setup steps: - name: Checkout code uses: actions/checkout@v2 + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: ${{ env.GO_VERSION }} + check-latest: true - name: Install staticcheck run: go install honnef.co/go/tools/cmd/staticcheck@latest - name: Run staticcheck @@ -76,7 +66,6 @@ jobs: golint: runs-on: ubuntu-latest - needs: setup steps: - name: Checkout code uses: actions/checkout@v2 @@ -92,7 +81,6 @@ jobs: test: runs-on: ubuntu-latest - needs: setup steps: - name: Checkout code uses: actions/checkout@v2 @@ -103,15 +91,3 @@ jobs: check-latest: true - name: Run proxmox unit tests run: go test -race -vet=off ./proxmox/... ./internal/... - - version: - runs-on: ubuntu-latest - needs: setup - steps: - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: ${{ env.GO_VERSION }} - check-latest: true - - name: Get Go version - run: go version \ No newline at end of file