From 2de90e76510b5e2780ab7cd884161d507e321883 Mon Sep 17 00:00:00 2001 From: muXxer Date: Fri, 24 May 2024 14:29:29 +0200 Subject: [PATCH] Checkout code before setting up go --- .github/workflows/build_HORNET.yml | 6 +++--- .github/workflows/gendoc.yml | 6 +++--- .github/workflows/test_HORNET.yml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_HORNET.yml b/.github/workflows/build_HORNET.yml index 63627059b..b6f1b547f 100644 --- a/.github/workflows/build_HORNET.yml +++ b/.github/workflows/build_HORNET.yml @@ -14,6 +14,9 @@ jobs: name: Build HORNET runs-on: self-hosted steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v4 + - name: Set up Go uses: actions/setup-go@v5 with: @@ -23,8 +26,5 @@ jobs: - name: Print Go version run: go version - - name: Check out code into the Go module directory - uses: actions/checkout@v4 - - name: Build HORNET run: go build -v . diff --git a/.github/workflows/gendoc.yml b/.github/workflows/gendoc.yml index d3bb5ec53..28d667d2b 100644 --- a/.github/workflows/gendoc.yml +++ b/.github/workflows/gendoc.yml @@ -9,6 +9,9 @@ jobs: gendoc: runs-on: self-hosted steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v4 + - name: Set up Go uses: actions/setup-go@v5 with: @@ -18,9 +21,6 @@ jobs: - name: Print Go version run: go version - - name: Check out code into the Go module directory - uses: actions/checkout@v4 - - name: Run gendoc working-directory: tools/gendoc run: go mod tidy && go run main.go diff --git a/.github/workflows/test_HORNET.yml b/.github/workflows/test_HORNET.yml index 31a2593ed..dddb1d82d 100644 --- a/.github/workflows/test_HORNET.yml +++ b/.github/workflows/test_HORNET.yml @@ -14,6 +14,9 @@ jobs: name: Test HORNET runs-on: self-hosted steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v4 + - name: Set up Go uses: actions/setup-go@v5 with: @@ -26,9 +29,6 @@ jobs: - name: Install Build Essential run: sudo apt update && sudo apt install build-essential -y - - name: Check out code into the Go module directory - uses: actions/checkout@v4 - - name: Test HORNET uses: nick-invision/retry@v3 with: