Skip to content

chore: add ga

chore: add ga #1

Workflow file for this run

name: testing
on:
push:
pull_request:
permissions:
contents: read
pull-requests: read
checks: write
jobs:
code-lint:
name: code-lint
runs-on: ubuntu-latest
steps:
- name: install deps
run: sudo apt install gcc
- name: Check out code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4 # action page: <https://github.com/actions/setup-go>
with:
go-version: stable
- name: Install Go dependencies
run: go mod download
- name: Run linter
uses: golangci/golangci-lint-action@v4
with:
version: v1.55.2 # without patch version
only-new-issues: false # show only new issues if it's a pull request
args: -v --timeout=10m --out-format=colored-line-number