Build(deps): Bump github.com/golangci/golangci-lint from 1.59.1 to 1.60.1 in /hack #607
Workflow file for this run
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
on: | |
workflow_dispatch: {} | |
push: | |
tags: | |
- 'v*' | |
pull_request: | |
types: [opened, synchronize, reopened, labeled] | |
name: Sanity Tests | |
jobs: | |
tests: | |
runs-on: | |
- self-hosted | |
- linux | |
if: | | |
github.event_name != 'pull_request' || | |
contains(github.event.pull_request.labels.*.name, 'needs-e2e-sanity-tests') && | |
(github.event.action != 'labeled' || github.event.label.name == 'needs-e2e-sanity-tests') | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22.0' | |
- name: Set up CI system | |
run: sudo apt-get update && sudo apt-get install -y nfs-common netbase && sudo rpcbind | |
- name: Run sanity tests | |
env: | |
ANEXIA_TOKEN: ${{ secrets.ANEXIA_TOKEN }} | |
ANEXIA_STORAGE_SERVER_IDENTIFIER: ${{ secrets.ANEXIA_STORAGE_SERVER_IDENTIFIER }} | |
run: sudo -E make test-sanity | |
- name: Upload test artifacts | |
uses: actions/upload-artifact@v4 | |
if: ${{ always() }} | |
with: | |
name: csi-driver.log | |
path: csi-driver.log |