Skip to content

Commit

Permalink
Update pr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
till committed Feb 20, 2024
1 parent e500d6e commit 79ab0ff
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,11 @@ on:

jobs:
golint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: go.mod
- uses: golangci/golangci-lint-action@v3
uses: hostwithquantum/github-workflows/.github/workflows/golint.yml@main
secrets:
DOWNLOAD_PACKAGE_TOKEN: ${{ secrets.DOWNLOAD_PACKAGE_TOKEN }}

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: go.mod
- run: go generate ./...
- run: go test --race ./...
gotest:
uses: hostwithquantum/github-workflows/.github/workflows/gotest.yml@main
secrets:
DOWNLOAD_PACKAGE_TOKEN: ${{ secrets.DOWNLOAD_PACKAGE_TOKEN }}

0 comments on commit 79ab0ff

Please sign in to comment.