Skip to content

bump golang-ci to 1.52 #52

bump golang-ci to 1.52

bump golang-ci to 1.52 #52

Workflow file for this run

name: go-main
on:
push:
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.17
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.52
- name: Test & publish code coverage
uses: paambaati/codeclimate-action@v3.0.0
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
with:
coverageCommand: go test -race -coverprofile c.out -covermode=atomic -v -bench=. ./...
prefix: github.com/eientei/wsgraphql
coverageLocations: ${{github.workspace}}/c.out:gocov