Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

chore(deps): update codecov/codecov-action action to v4 - autoclosed #217

chore(deps): update codecov/codecov-action action to v4 - autoclosed

chore(deps): update codecov/codecov-action action to v4 - autoclosed #217

Workflow file for this run

# name of the action
name: test
# trigger on pull_request or push events
on:
pull_request:
push:
# pipeline to execute
jobs:
test:
runs-on: ubuntu-latest
container:
image: golang:latest
steps:
- name: clone
uses: actions/checkout@v3
- name: install
run: |
go get github.com/mattn/goveralls
- name: exclude
run: |
rm -f artifactory/artifactory-accessors.go xray/xray-accessors.go # exclude generated code
- name: test
run: |
go test -covermode=atomic -coverprofile=coverage.out ./...
- name: coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.out