Skip to content

Fix push artifact bug #5

Fix push artifact bug

Fix push artifact bug #5

Workflow file for this run

name: Test and lint
on:
pull_request:
branches:
- main
permissions:
contents: read
jobs:
test-and-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
go-version: '1.24'
- uses: actions/[email protected]
with:
path: |
~/.cache/go-build
${{ env.GOPATH }}/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Download dependencies
run: go mod download
- name: Run tests
run: go test ./...
- name: Run linter
uses: golangci/golangci-lint-action@v8