Skip to content

chore: fix linter (#120) #483

chore: fix linter (#120)

chore: fix linter (#120) #483

Workflow file for this run

name: pipeline
on:
pull_request:
push:
branches:
- main
jobs:
ci:
strategy:
matrix:
args: ["build", "lint", "test"]
os: [ubuntu-latest]
go-version: [1.23.1]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Golang
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Cache Golang Deps
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go
key: ${{ runner.os }}-golang-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-golang-
- name: Run ${{ matrix.args }}
run: make ${{ matrix.args }}
env:
GOPATH: /home/runner/go