Skip to content

build(deps): bump github/codeql-action from 2.1.16 to 2.21.2 #141

build(deps): bump github/codeql-action from 2.1.16 to 2.21.2

build(deps): bump github/codeql-action from 2.1.16 to 2.21.2 #141

Workflow file for this run

name: Go Coverage
on: [pull_request]
permissions:
contents: read
jobs:
test:
name: Coverage
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a
with:
go-version: '1.18.0'
id: go
- name: Check out code
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
- name: Build
run: go build -v ./...
- name: Test With Coverage
run: |
for d in request core coremain plugin test; do \
( cd $d; go test -coverprofile=cover.out -covermode=atomic -race ./...; [ -f cover.out ] && cat cover.out >> ../coverage.txt ); \
done
- name: Upload coverage to Codecov
uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378