Skip to content

feat: add support for MATCHED_FILES and PACKAGE_FILES step argument #15

feat: add support for MATCHED_FILES and PACKAGE_FILES step argument

feat: add support for MATCHED_FILES and PACKAGE_FILES step argument #15

Workflow file for this run

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 }}