feat: add support for MATCHED_FILES and PACKAGE_FILES step argument #14
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: CI Tests | |
on: | |
pull_request: | |
env: | |
GO_VERSION: 1.22.4 | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Golang | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Create temporary directory | |
run: mkdir -p ${{ github.workspace }}/tmp | |
- name: Run Golang tests | |
run: go test -coverprofile=coverage.txt ./... | |
env: | |
TMPDIR: ${{ github.workspace }}/tmp | |
- name: Upload results to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |