Skip to content

fix: checkout nasty-go inside workspace, not parent dir #13

fix: checkout nasty-go inside workspace, not parent dir

fix: checkout nasty-go inside workspace, not parent dir #13

Workflow file for this run

name: CSI Sanity Tests
on:
push:
branches: [ main, 'feature/enable-sanity-tests' ]
paths:
- 'pkg/**'
- 'cmd/**'
- 'tests/sanity/**'
- 'go.mod'
- 'go.sum'
- '.github/workflows/sanity.yml'
pull_request:
branches: [ main ]
paths:
- 'pkg/**'
- 'cmd/**'
- 'tests/sanity/**'
- 'go.mod'
- 'go.sum'
- '.github/workflows/sanity.yml'
workflow_dispatch:
permissions:
contents: read
jobs:
sanity:
name: CSI Sanity Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache: true
- name: Download dependencies
run: go mod download
- name: Run CSI sanity tests
run: make test-sanity
- name: Run unit tests
run: make test-unit