Skip to content

Refactoring Juicebox GCP Service #3

Refactoring Juicebox GCP Service

Refactoring Juicebox GCP Service #3

Workflow file for this run

name: Lint and Test
on:
pull_request: {}
workflow_dispatch: {}
jobs:
lint_and_test:
name: Lint and Test
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
<<<<<<< HEAD:.github/workflows/main.yml

Check failure on line 18 in .github/workflows/lint_and_test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint_and_test.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
go-version: '1.22.6'
=======
go-version: "1.24.4"
>>>>>>> b460718 (Refactoring Juicebox GCP Service):.github/workflows/lint_and_test.yml
check-latest: false
- name: Run revive
run: |
go install github.com/mgechev/revive@latest
revive -config revive.toml -formatter friendly ./...
- name: Run staticcheck
run: |
go install honnef.co/go/tools/cmd/staticcheck@latest
staticcheck ./...
- name: Run govulncheck
run: |
go version
go install golang.org/x/vuln/cmd/govulncheck@latest
govulncheck ./...
- name: Run go test
run: go test -v ./...
- name: Build Executables
run: |
go build ./cmd/jb-sw-realm
go build ./cmd/tenant_log
- name: Run go mod tidy
run: go mod tidy && git diff --quiet