Skip to content

feat: expose an API for custom mailboxes #884

feat: expose an API for custom mailboxes

feat: expose an API for custom mailboxes #884

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.60.1
args: --timeout 10m --config .golangci.yml