Skip to content

[FIX] go arch params; #15

[FIX] go arch params;

[FIX] go arch params; #15

Workflow file for this run

name: ci-go-lint
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: "0 0 * * *"
jobs:
go_lint:
if: github.event.pull_request.draft == false
name: lint
runs-on: ubuntu-20.04
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Get Go Version
run: |
#!/bin/bash
GOVERSION=$({ [ -f .go-version ] && cat .go-version; })
echo "GOVERSION=$GOVERSION" >> $GITHUB_ENV
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GOVERSION }}
- name: golang-lint
env:
GOGC: 10
uses: golangci/golangci-lint-action@v6
with:
version: latest
only-new-issues: true
args: --timeout=10m