Skip to content

Initial changes

Initial changes #2

Workflow file for this run

name: Continuous Integration
env:
GO_VERSION: 1.20.1
on:
push:
branches:
- '*'
pull_request:
branches: [ main ]
jobs:
cache:
name: cache-deps (linux)
runs-on: ubuntu-latest
permissions:
contents: read
steps:

Check failure on line 19 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- run: go mod download
lint:
name: lint (linux)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Lint
run: |
make tools
make lint
- name: Test
run: make test