Skip to content

switch to golang 1.22 #149

switch to golang 1.22

switch to golang 1.22 #149

Workflow file for this run

name: "CI codecheck"
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set Swap Space
uses: pierotofy/set-swap-space@49819abfb41bd9b44fb781159c033dba90353a7c
with:
swap-size-gb: 12
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache-dependency-path: "go.sum"
check-latest: true
- name: Run Golangci lint
uses: golangci/golangci-lint-action@v2
with:
version: latest
args: --print-resources-usage