Skip to content

story(issue-358): migrate the lifecycle middleware from app to appbuilder #678

story(issue-358): migrate the lifecycle middleware from app to appbuilder

story(issue-358): migrate the lifecycle middleware from app to appbuilder #678

Workflow file for this run

name: CI
on:
push:
branches:
- "main"
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
pull_request:
branches:
- "main"
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
with:
go-version: '1.23'
- name: Lint Go Code
uses: golangci/golangci-lint-action@e60da84bfae8c7920a47be973d75e15710aa8bd7 # v6
with:
version: latest
skip-cache: false
args: --timeout 3m --verbose --print-issued-lines=true --skip-dirs example --skip-files ".*_test.go"
- name: Build
run: go build ./...
- name: Test
run: go test -race -cover ./...