Skip to content

Merge pull request #63 from BeyondTrust/dependabot/go_modules/google.… #199

Merge pull request #63 from BeyondTrust/dependabot/go_modules/google.…

Merge pull request #63 from BeyondTrust/dependabot/go_modules/google.… #199

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [main]
pull_request:
permissions:
contents: none
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Configure Go"
uses: actions/setup-go@v4
- name: "Build"
run: go build -v ./...
- name: "Unit Tests"
run: go test $(go list ./... | grep -v /test)
lint:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Configure Go"
uses: actions/setup-go@v4
with:
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
args: --timeout 5m0s