Skip to content

Update README.md

Update README.md #13

Workflow file for this run

name: CI
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
branches:
- master
- main
jobs:
golangci:
permissions:
contents: read # for actions/checkout to fetch code
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.51
build:
name: build
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.21]
steps:
- name: Setup
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Check out source
uses: actions/checkout@v2
- name: Get Deps
run: go mod vendor
- name: Build
run: make build