Bump github.com/sirupsen/logrus from 1.9.2 to 1.9.3 #304
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Check | |
on: | |
pull_request: | |
jobs: | |
test: | |
name: Test and coverage | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.18.0 | |
id: go | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Get dependencies | |
run: | | |
go get -v -t -d ./... | |
- name: Run Unit tests | |
run: | | |
go test -race -covermode atomic -coverprofile=covprofile ./... | |
- name: Install goveralls | |
run: go install github.com/mattn/goveralls@latest | |
- name: Send coverage | |
env: | |
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: goveralls -coverprofile=covprofile -service=github | |
vet: | |
name: go vet and statuscheck | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.18.0 | |
id: go | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: go vet | |
run: | | |
go get -v -t -d ./... | |
go vet ./... | |
- name: go staticcheck | |
uses: dominikh/staticcheck-action@v1.3.0 | |
with: | |
version: "2022.1" | |
install-go: false | |
golangci: | |
name: golangci lint check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.18.0 | |
id: go | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.45.2 |