Skip to content

refactor: unify the error handling methods in the crypto package that are different from the project style #2017

refactor: unify the error handling methods in the crypto package that are different from the project style

refactor: unify the error handling methods in the crypto package that are different from the project style #2017

Workflow file for this run

name: basic-check
on:
push:
branches:
- master
pull_request:
branches:
- '**'
jobs:
check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: true
- name: install deps
run: |
sudo apt-get update
sudo apt-get -o Acquire::Retries=3 install make ncftp mesa-opencl-icd ocl-icd-opencl-dev gcc git bzr jq pkg-config curl clang build-essential hwloc libhwloc-dev wget -y
- name: Build
env:
GOPROXY: "https://proxy.golang.org,direct"
GO111MODULE: "on"
run: |
make
- name: Lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.57.2
golangci-lint run --timeout 10m
- name: Compatible all
run: |
make compatible-all
- name: Gen all
run: |
make gen-all
- name: Detect changes
run: |
git status --porcelain
test -z "$(git status --porcelain)"