mirror of
https://github.com/Fishwaldo/go-logadapter.git
synced 2025-03-15 19:31:25 +00:00
Merge branch 'main' of https://github.com/Fishwaldo/go-logadapter into main
This commit is contained in:
commit
538f0495a3
2 changed files with 4 additions and 4 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -5,7 +5,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
go-version: [ 1.16.x, 1.15.x, 1.14.x, 1.13.x ]
|
||||
platform: [ ubuntu-latest, macos-latest, windows-latest ]
|
||||
platform: [ ubuntu-latest, macos-latest ]
|
||||
runs-on: ${{ matrix.platform }}
|
||||
steps:
|
||||
- name: Install Go
|
||||
|
@ -16,6 +16,6 @@ jobs:
|
|||
- name: Checkout code
|
||||
uses: actions/checkout@v1
|
||||
- name: Run tests
|
||||
run: go test -v -race -covermode=atomic -coverprofile=coverage.out
|
||||
run: go test -v -race -covermode=atomic -coverprofile=coverage
|
||||
- name: Upload coverage to Codecov
|
||||
run: bash <(curl -s https://codecov.io/bash)
|
||||
|
|
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
|
@ -9,8 +9,8 @@ jobs:
|
|||
uses: actions/checkout@v1
|
||||
|
||||
- name: GolangCI-Lint Action
|
||||
uses: matoous/golangci-lint-action@v2
|
||||
uses: golangci/golangci-lint-action@v2.5.2
|
||||
with:
|
||||
config: .golangci.yml
|
||||
version: latest
|
||||
only-new-issues: true
|
||||
args: --issues-exit-code=0
|
||||
|
|
Loading…
Add table
Reference in a new issue