Skip to content

add actions

add actions #7

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "main" ]
jobs:
resq:
runs-on: ubuntu-latest
steps:

Check failure on line 16 in .github/workflows/go.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/go.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
- uses: actions/checkout@v3
- name: Setup Go environment
uses: actions/[email protected]
with:
go-version: 1.23.x
- name: Check Go environment
run: go version
- name: Install dependencies
run: go get -v -t -d ./...
- name: Install golangci-lint
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
- name: Run golangci-lint
run: golangci-lint run ./...
- name: 'build'
run: go build -o resq