Skip to content

refactor: clean the addressing engine #852

refactor: clean the addressing engine

refactor: clean the addressing engine #852

Workflow file for this run

name: pr
on:
pull_request:
branches: [ main ]
paths-ignore:
- '**/README.md'
- '**/bench/**'
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
env:
FORCE_COLOR: 1
steps:
- uses: actions/checkout@v4
with:
submodules: false
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: '1.22.0'
check-latest: true
cache-dependency-path: "**/*.sum"
- run: go version
- name: Vendoring and Tidy
run: go mod tidy && go mod vendor
- name: Install dependencies
run: |
go install github.com/ory/go-acc@latest
- name: Run tests
run: |
go-acc ./... -o coverage.out --ignore goaktpb,mocks,internal/internalpb,bench -- -mod=vendor -race -v
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.out
fail_ci_if_error: false
verbose: true
# lint:
# runs-on: ubuntu-latest
# timeout-minutes: 10
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-go@v5
# with:
# go-version: '>=1.22.0'
# check-latest: true
# cache-dependency-path: "**/*.sum"
# - name: golangci-lint
# uses: golangci/golangci-lint-action@v6
# with:
# version: v1.59.1
# args: --timeout 10m --config .golangci.yml