Skip to content

Commit

Permalink
Enabled test for PR.
Browse files Browse the repository at this point in the history
* Bump gh action setup-go to v4.

* Bump gh action checkout to v4.

Signed-off-by: Lan Liang <[email protected]>
  • Loading branch information
liangyuanpeng committed Mar 8, 2024
1 parent 9709236 commit 6347ab5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@ name: Test Generate Metadata

on:
push:
pull_request:

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.21

- name: Check out code into the Go module directory
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Get dependencies
run: go get -v -t -d ./...
Expand Down

0 comments on commit 6347ab5

Please sign in to comment.