Skip to content

Build(deps): Bump golang from 1.20-alpine to 1.21-alpine #140

Build(deps): Bump golang from 1.20-alpine to 1.21-alpine

Build(deps): Bump golang from 1.20-alpine to 1.21-alpine #140

Workflow file for this run

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@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
- 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@v3
if: ${{ always() }}
with:
name: csi-driver.log
path: csi-driver.log