This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
chore(deps): update actions/checkout action to v4 #222
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 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@v4 | |
- 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@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: coverage.out |