Skip to content

Bump gems

Bump gems #16

Workflow file for this run

name: Run Go Tests
concurrency:
group: '${{ github.workflow }}-${{ github.head_ref || github.run_id }}'
cancel-in-progress: true
on:
workflow_dispatch:
pull_request:
paths:
- 'src/openstack_cpi_golang/**'
push:
branches:
- master
jobs:
go:
strategy:
matrix:
os: [macos-latest, windows-2019, ubuntu-latest]
name: Run tests and Lint on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: src/openstack_cpi_golang/go.mod
- name: Run golangci-lint
if: ${{ matrix.os != 'windows-2019' }}
uses: golangci/golangci-lint-action@v6
with:
working-directory: src/openstack_cpi_golang
- name: Run golangci-lint
if: ${{ matrix.os == 'windows-2019' }}
uses: golangci/golangci-lint-action@v6
with:
working-directory: src/openstack_cpi_golang
args: --disable=goimports
- name: Run unit tests
run: scripts/run-unit-tests
working-directory: src/openstack_cpi_golang
- name: Run integration tests
run: scripts/run-integration-tests
working-directory: src/openstack_cpi_golang