Skip to content

fix(deps): bump goreleaser/goreleaser-action from 4 to 6 in the githu… #20

fix(deps): bump goreleaser/goreleaser-action from 4 to 6 in the githu…

fix(deps): bump goreleaser/goreleaser-action from 4 to 6 in the githu… #20

Workflow file for this run

---
name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
with:
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22.5"
- name: Install Linters
run: |
go install github.com/mgechev/revive@latest
go install honnef.co/go/tools/cmd/staticcheck@latest
- name: Lint - golint
run: revive ./...
- name: Lint - staticcheck
run: GOOS=linux staticcheck ./...
- name: Build
run: go build ./...
- name: Test
run: go test ./...