Skip to content

add apierror.Unauthorized #31

add apierror.Unauthorized

add apierror.Unauthorized #31

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
check-latest: true
go-version-file: "go.mod"
- name: Display Go version
run: go version
- name: Test
run: make test
golangci-lint:
runs-on: ubuntu-latest
env:
GOLANGCI_LINT_VERSION: v1.64.6
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
check-latest: true
go-version-file: "go.mod"
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}