no proxy #137
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: golangci-lint | |
on: | |
push: | |
tags: | |
- '!v*' | |
branches: | |
- '*' | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: "Setup go" | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: "Install dependencies" | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y build-essential libvirt-dev make genisoimage libguestfs-dev libcephfs-dev librbd-dev librados-dev | |
- name: "Install dependencies" | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y build-essential libvirt-dev make genisoimage libguestfs-dev libcephfs-dev librbd-dev librados-dev | |
- uses: golangci/golangci-lint-action@v6 | |
with: | |
args: --timeout=8m |