Skip to content

ci(deps): bump actions/upload-artifact from 4 to 7 in the actions group #9

ci(deps): bump actions/upload-artifact from 4 to 7 in the actions group

ci(deps): bump actions/upload-artifact from 4 to 7 in the actions group #9

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache: true
- name: gofmt
run: |
out=$(gofmt -s -l .)
if [ -n "$out" ]; then
echo "files need gofmt -s:" >&2
echo "$out" >&2
exit 1
fi
- name: vet
run: go vet ./...
- name: test
run: go test ./...
- name: vet (notui)
run: go vet -tags notui ./...
- name: test (notui)
run: go test -tags notui ./...
- name: staticcheck
run: |
go install honnef.co/go/tools/cmd/staticcheck@latest
staticcheck ./...
- name: build
run: go build -o /dev/null ./cmd/osmctl
- name: build (notui)
run: go build -tags notui -o /dev/null ./cmd/osmctl