Skip to content

[AV-127651] Add legacy backup/schedule + snapshot schedule acceptance tests; harden bucket setup #2024

[AV-127651] Add legacy backup/schedule + snapshot schedule acceptance tests; harden bucket setup

[AV-127651] Add legacy backup/schedule + snapshot schedule acceptance tests; harden bucket setup #2024

Workflow file for this run

name: Lint
on: [pull_request]
permissions:
contents: read
pull-requests: read
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # needed for `only-new-issues` to compare diffs
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
cache: false
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: cache-${{ github.run_id }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v7
with:
version: v2.11.4
only-new-issues: true
tfproviderlint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
- name: Run Terraform check
run: make tfcheck