Skip to content

replace install task job #273

replace install task job

replace install task job #273

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- "*"
paths-ignore:
- "**.md"
pull_request:
paths-ignore:
- "**.md"
jobs:
unit_tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "^1.23"
- name: Install Task
run: go install github.com/go-task/task/v3/cmd/task@latest
- name: Install mockgen
run: go install github.com/golang/mock/mockgen@latest
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Run Unit Tests
run: task test
e2e:
name: "End to End Tests"
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Set up Go
uses: actions/setup-go@v3
- name: Install Task
run: go install github.com/go-task/task/v3/cmd/task@latest
with:

Check failure on line 45 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / Unit Tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 45, Col: 9): Unexpected value 'with'
go-version: "^1.23"
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Run Unit Tests
shell: bash
run: task e2e