Skip to content

🐬docker compose version attribute removal #44

🐬docker compose version attribute removal

🐬docker compose version attribute removal #44

Workflow file for this run

name: test
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.23.x
- name: Checkout code
uses: actions/checkout@v3
- name: go mod package cache
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Tests
run: go test ./...
- name: Gofumpt
run: ./bin/gofumpt -l -w . 2>&1 | tee outfile && test -z "$(cat outfile)" && rm outfile
- name: go vet
run: go vet ./...
- name: Staticcheck
run: ./bin/staticcheck ./...
- name: Vulncheck
run: ./bin/govulncheck ./...