Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jmnote committed Dec 29, 2023
1 parent 28856cb commit 9badf60
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ permissions:
pull-requests: write

jobs:

go-fmt:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -45,13 +44,28 @@ jobs:
- uses: actions/checkout@v3
- run: go vet ./...

staticcheck:
runs-on: ubuntu-latest
ci:
name: "Run CI"
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
go: ["1.21.x"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: WillAbides/[email protected]
with:
go-version: ${{ matrix.go }}
- run: "go test ./..."
- run: "go vet ./..."
- uses: dominikh/[email protected]
with:
version: "2022.1.3"
install-go: false
cache-key: ${{ matrix.go }}

golangci-lint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9badf60

Please sign in to comment.