Skip to content

WIP: feature: add plugin system for template functions #995

WIP: feature: add plugin system for template functions

WIP: feature: add plugin system for template functions #995

Triggered via pull request August 9, 2023 18:18
@brainexebrainexe
synchronize #204
plugins
Status Failure
Total duration 4m 4s
Artifacts

test.yaml

on: pull_request
Matrix: Run tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 21 warnings
Lint: bot/plugin.go#L4
File is not `gofumpt`-ed (gofumpt)
Lint: bot/plugin.go#L6
File is not `gofumpt`-ed (gofumpt)
Lint: bot/plugins/test/plugin.go#L3
File is not `gofumpt`-ed (gofumpt)
Lint: bot/plugins/test/plugin.go#L4
import 'github.com/innogames/slack-bot/v2/bot' is not allowed from list 'Main' (depguard)
Lint: bot/plugins/test/plugin.go#L5
import 'github.com/innogames/slack-bot/v2/bot/config' is not allowed from list 'Main' (depguard)
Lint: bot/plugins/test/plugin.go#L6
import 'github.com/innogames/slack-bot/v2/bot/matcher' is not allowed from list 'Main' (depguard)
Lint: bot/plugins/test/plugin.go#L7
import 'github.com/innogames/slack-bot/v2/bot/msg' is not allowed from list 'Main' (depguard)
Lint: plugins/test/main.go#L6
import 'github.com/innogames/slack-bot/v2/bot' is not allowed from list 'Main' (depguard)
Lint: plugins/test/main.go#L7
import 'github.com/innogames/slack-bot/v2/bot/config' is not allowed from list 'Main' (depguard)
Lint: plugins/test/main.go#L8
import 'github.com/innogames/slack-bot/v2/bot/matcher' is not allowed from list 'Main' (depguard)
Run tests (1.20.x, ubuntu-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.20.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/slack-bot/slack-bot. Supported file pattern: go.sum
Run tests (1.20.x, ubuntu-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Lint: bot/plugins/test/plugin.go#L19
unused-parameter: parameter 'cfg' seems to be unused, consider removing or renaming it as _ (revive)
Lint: plugins/test/main.go#L22
unused-parameter: parameter 'cfg' seems to be unused, consider removing or renaming it as _ (revive)
Run tests (1.21.x, ubuntu-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.21.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/slack-bot/slack-bot. Supported file pattern: go.sum
Run tests (1.21.x, ubuntu-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.21.x, macos-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.21.x, macos-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.21.x, macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/slack-bot/slack-bot. Supported file pattern: go.sum
Run tests (1.20.x, macos-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.20.x, macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/slack-bot/slack-bot. Supported file pattern: go.sum
Run tests (1.20.x, macos-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.21.x, windows-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.21.x, windows-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.21.x, windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\slack-bot\slack-bot. Supported file pattern: go.sum
Run tests (1.20.x, windows-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.20.x, windows-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.20.x, windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\slack-bot\slack-bot. Supported file pattern: go.sum
Run race+coverage tests
Restore cache failed: Dependencies file is not found in /home/runner/work/slack-bot/slack-bot. Supported file pattern: go.sum