Skip to content

chore: Bump actions/setup-go from 6.0.0 to 6.1.0 #393

chore: Bump actions/setup-go from 6.0.0 to 6.1.0

chore: Bump actions/setup-go from 6.0.0 to 6.1.0 #393

Workflow file for this run

name: 'Code Health'
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions: {}
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c
with:
go-version-file: 'go.mod'
- name: Build
run: make build
- name: Unit Test
run: make test
e2e:
runs-on: ubuntu-latest
permissions: {}
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c
with:
go-version-file: 'go.mod'
- name: setup Atlas CLI
uses: mongodb/atlas-github-action@e3c9e0204659bafbb3b65e1eb1ee745cca0e9f3b
- name: E2E Test
run: make test-e2e
lint:
runs-on: ubuntu-latest
permissions: {}
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
- name: Install Go
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c
with:
go-version-file: 'go.mod'
cache: false # see https://github.com/golangci/golangci-lint-action/issues/807
- name: golangci-lint
uses: golangci/golangci-lint-action@e7fa5ac41e1cf5b7d48e45e42232ce7ada589601
with:
version: v2.4.0 # Also update GOLANGCI_VERSION variable in GNUmakefile when updating this version
- name: actionlint
run: |
make tools
echo "::add-matcher::.github/actionlint-matcher.json"
actionlint -color
shell: bash
- name: shellcheck
uses: bewuethr/shellcheck-action@80bac2daa9fcf95d648200a793d00060857e6dc4