Skip to content

Commit

Permalink
Checkout code before setting up go
Browse files Browse the repository at this point in the history
  • Loading branch information
muXxer committed May 24, 2024
1 parent aaa1fd8 commit 2de90e7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_HORNET.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 .
6 changes: 3 additions & 3 deletions .github/workflows/gendoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test_HORNET.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 2de90e7

Please sign in to comment.