Skip to content

add GitHub workflows #12

add GitHub workflows

add GitHub workflows #12

Workflow file for this run

name: validate
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build_and_test:
runs-on: ubuntu-latest
container:
image: golang:1.22
options: --privileged
env:
CODECOV_TOKEN: ENCRYPTED[64481ea00b08c4703bf350a2ad3d5a6fd7a00269576784b2943cce62604798e88f532e19fb66859fa68f43dbd4a0df15]
steps:
- uses: actions/checkout@v4
- name: vendor
run: |
make vendor
./hack/tree_status.sh
- name: lint
run: |
make .install.tools
make check
- name: build
run: |
apt-get -qq update
apt-get -qq install vim bats ripgrep less
make build
make test
make build.coverage
make test-integration.coverage
make codecov