docs(simapp): fixed inline middleware wiring comments #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Callbacks Module | |
# This workflow runs when a PR is opened that targets code that is part of the callbacks module. | |
on: | |
pull_request: | |
paths: | |
- '.github/workflows/callbacks.yml' | |
- 'modules/apps/callbacks/**' | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
- uses: actions/checkout@v3 | |
- uses: golangci/[email protected] | |
with: | |
version: v1.53.3 | |
args: --timeout 5m | |
working-directory: modules/apps/callbacks | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-arch: ['amd64', 'arm', 'arm64'] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
- name: Build callbacks-module | |
run: | | |
cd modules/apps/callbacks | |
GOARCH=${{ matrix.go-arch }} go build ./... | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
- name: Go Test | |
run: | | |
cd modules/apps/callbacks | |
go test -v -mod=readonly ./... |