Skip to content

Fix docker builds

Fix docker builds #63

Workflow file for this run

name: validate
on:
push:
branches:
- 'main'
pull_request:
permissions:
contents: read
jobs:
test:
name: test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Run Go test
uses: robherley/go-test-action@v0
with:
testArguments: -race -vet=all ./...
omit: |
pie
untested
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.62
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up devbox
uses: jetify-com/[email protected]
with:
enable-cache: true
- name: Build in devbox
run: devbox run -- task go-release