Skip to content

Fix/requests

Fix/requests #2

Workflow file for this run

name: Pull Request
on:
pull_request:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
name: Build
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'
- name: Build
env:
CGO_ENABLED: 0
run: go build -ldflags="-extldflags=-static" -o ./bin/shuttle ./cmd/
lint:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.23'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.62.2
args: --timeout 15m --config .golangci.yaml
skip-cache: true