Skip to content

Commit

Permalink
ci: checkout and setup go directly in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vtno committed Jul 1, 2023
1 parent 090bc3d commit 1466a86
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
14 changes: 0 additions & 14 deletions .github/actions/checkout-and-setupgo/action.yml

This file was deleted.

16 changes: 14 additions & 2 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,24 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: ./.github/actions/checkout-and-setupgo
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20"

- name: Build
run: make build
test:
runs-on: ubuntu-latest
steps:
- uses: ./.github/actions/checkout-and-setupgo
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20"

- name: Test
run: make test

0 comments on commit 1466a86

Please sign in to comment.