Skip to content

Commit

Permalink
Merge pull request #27 from inngest/cdz/ci
Browse files Browse the repository at this point in the history
CI improvements/updates
  • Loading branch information
cdzombak authored Oct 23, 2024
2 parents 139798f + 15c4d08 commit 3505ed1
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,28 @@ on:
pull_request:

jobs:

golangci:
name: lint
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version-file: ./go.mod
- name: Lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.55.1
./bin/golangci-lint run --verbose
test-linux-race:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version-file: ./go.mod
- name: Test
run: go test ./... -v -count=1
run: go test ./... -race -v -count=1

0 comments on commit 3505ed1

Please sign in to comment.