Skip to content

Fix dirty git state caused by built tool #906

Fix dirty git state caused by built tool

Fix dirty git state caused by built tool #906

Workflow file for this run

name: Go Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-latest, ubuntu-latest]
go_vers: ['1.22', '1.23']
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go_vers }}
- name: Download dependencies
run: go mod download -x
- name: Test
run: go run github.com/go-task/task/v3/cmd/task test.ci
- name: Upload coverage to codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.txt
verbose: true