Skip to content

chore: migrate Go module path to stacktower-io org #149

chore: migrate Go module path to stacktower-io org

chore: migrate Go module path to stacktower-io org #149

Workflow file for this run

name: CI
on:
push:
branches-ignore:
- "dependabot/**" # Skip dependabot branches (they create PRs)
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v6
with:
go-version-file: "go.mod"
cache: true
- name: Install tools
run: make install-tools
- name: Format check
run: make fmt-check
- name: Lint
run: make lint
- name: Test
run: go test -race -coverprofile=coverage.txt -timeout=2m ./...
- name: Upload coverage to Codecov
if: github.ref == 'refs/heads/main'
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.txt
fail_ci_if_error: false
- name: Vulncheck
run: make vuln