Skip to content

Separate build and test jobs #3

Separate build and test jobs

Separate build and test jobs #3

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go 1.21.x
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
- name: Install Dependencies
run: |
go get .
- name: Build
run: go build -v ./...
test:
runs-on: ubuntu-latest
steps:

Check failure on line 21 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yaml

Invalid workflow file

You have an error in your yaml syntax on line 21
uses: actions/checkout@v4
- name: Setup Go 1.21.x
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
- name: Install Dependencies
run: |
go get .
- name: Test
run: go test -v ./...