Skip to content

Commit

Permalink
revise action
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorVin committed Nov 12, 2024
1 parent 34d0d05 commit 72c5571
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/push-pr-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@ name: lint and test
on: [pull_request, push]

jobs:
lint-test:
golangci-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod

- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
Expand All @@ -25,12 +23,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod

- name: Test
run: go test ./... -tags testtools

- name: Test
run: go test ./... -tags testtools

0 comments on commit 72c5571

Please sign in to comment.