Skip to content

build out New and Ratelimit functions (100%) #12

build out New and Ratelimit functions (100%)

build out New and Ratelimit functions (100%) #12

Workflow file for this run

name: Go code quality
on:
push:
branches: [main]
pull_request:
permissions:
contents: write
pull-requests: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Install dependencies
run: go mod tidy
golangci:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59
working-directory: ./
args: --config ./.golangci.yml