Skip to content

fix: migrate anchor tag snippet to 2.0 syntax #372

fix: migrate anchor tag snippet to 2.0 syntax

fix: migrate anchor tag snippet to 2.0 syntax #372

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20.1
- name: Test
uses: joerdav/[email protected]
with:
task: test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20.1
- name: Lint
uses: golangci/golangci-lint-action@v3
ensure-generated:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20.1
- name: Generate
uses: joerdav/[email protected]
with:
task: generate
- name: Ensure clean
run: git diff --exit-code