Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ringsaturn committed May 7, 2024
1 parent 14f922f commit 0dcadd5
Showing 1 changed file with 3 additions and 25 deletions.
28 changes: 3 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,11 @@ on:
branches: [main]

jobs:
golangci:
name: golangci-lint
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.21"]
permissions:
contents: read
pull-requests: read
runs-on: ubuntu-latest
timeout-minutes: 15
go: ["1.21", "1.22"]
steps:
- uses: actions/checkout@v4

Expand All @@ -31,23 +26,6 @@ jobs:
version: latest
args: --timeout=5m

build:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.20", "1.21"]
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

- name: Install go pkgs
run: |
go mod download
- name: Run coverage
run: go test -race -coverprofile=coverage.txt -covermode=atomic

Expand Down

0 comments on commit 0dcadd5

Please sign in to comment.