Skip to content

upgrade ci actions #140

upgrade ci actions

upgrade ci actions #140

Workflow file for this run

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