Skip to content

Update test.yml

Update test.yml #2

Workflow file for this run

name: tests

Check failure on line 1 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

`steps` is not a valid event name
on:
pull_request:
branches:
- "*"
workflow_dispatch:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: Prepare dependencies
run: |
go mod download
- name: Test code
run: |
go test -race ./...