Skip to content

issue-654: allow setting a stopTime for job. #1228

issue-654: allow setting a stopTime for job.

issue-654: allow setting a stopTime for job. #1228

Triggered via pull request July 19, 2024 15:09
@HiganHigan
synchronize #760
Higan:v2
Status Failure
Total duration 28s
Artifacts

go_test.yml

on: pull_request
Matrix: lint and test
Fit to window
Zoom out
Zoom in

Annotations

32 errors
lint and test (1.20): job.go#L616
cannot use func(j *internalJob) error {…} (value of type func(j *internalJob) error) as JobOption value in return statement (typecheck)
lint and test (1.20): example_test.go#L10
could not import github.com/go-co-op/gocron/v2 (-: # github.com/go-co-op/gocron/v2 [github.com/go-co-op/gocron/v2.test]
lint and test (1.20): job.go#L616
cannot use func(j *internalJob) error {…} (value of type func(j *internalJob) error) as JobOption value in return statement) (typecheck)
lint and test (1.20): example_test.go#L15
undefined: Locker (typecheck)
lint and test (1.20): example_test.go#L19
undefined: Lock (typecheck)
lint and test (1.20): example_test.go#L24
undefined: NewScheduler (typecheck)
lint and test (1.20): example_test.go#L28
undefined: DurationJob (typecheck)
lint and test (1.20): example_test.go#L31
undefined: NewTask (typecheck)
lint and test (1.20): example_test.go#L34
undefined: WithEventListeners (typecheck)
lint and test (1.20): example_test.go#L35
undefined: AfterJobRuns (typecheck)
lint and test (1.22)
The job was canceled because "_1_20" failed.
lint and test (1.22): job.go#L616
cannot use func(j *internalJob) error {…} (value of type func(j *internalJob) error) as JobOption value in return statement (typecheck)
lint and test (1.22): example_test.go#L10
could not import github.com/go-co-op/gocron/v2 (-: # github.com/go-co-op/gocron/v2 [github.com/go-co-op/gocron/v2.test]
lint and test (1.22): job.go#L616
cannot use func(j *internalJob) error {…} (value of type func(j *internalJob) error) as JobOption value in return statement) (typecheck)
lint and test (1.22): example_test.go#L15
undefined: Locker (typecheck)
lint and test (1.22): example_test.go#L19
undefined: Lock (typecheck)
lint and test (1.22): example_test.go#L24
undefined: NewScheduler (typecheck)
lint and test (1.22): example_test.go#L28
undefined: DurationJob (typecheck)
lint and test (1.22): example_test.go#L31
undefined: NewTask (typecheck)
lint and test (1.22): example_test.go#L34
undefined: WithEventListeners (typecheck)
lint and test (1.22): example_test.go#L35
undefined: AfterJobRuns (typecheck)
lint and test (1.21)
The job was canceled because "_1_20" failed.
lint and test (1.21): job.go#L616
cannot use func(j *internalJob) error {…} (value of type func(j *internalJob) error) as JobOption value in return statement (typecheck)
lint and test (1.21): example_test.go#L10
could not import github.com/go-co-op/gocron/v2 (-: # github.com/go-co-op/gocron/v2 [github.com/go-co-op/gocron/v2.test]
lint and test (1.21): job.go#L616
cannot use func(j *internalJob) error {…} (value of type func(j *internalJob) error) as JobOption value in return statement) (typecheck)
lint and test (1.21): example_test.go#L15
undefined: Locker (typecheck)
lint and test (1.21): example_test.go#L19
undefined: Lock (typecheck)
lint and test (1.21): example_test.go#L24
undefined: NewScheduler (typecheck)
lint and test (1.21): example_test.go#L28
undefined: DurationJob (typecheck)
lint and test (1.21): example_test.go#L31
undefined: NewTask (typecheck)
lint and test (1.21): example_test.go#L34
undefined: WithEventListeners (typecheck)
lint and test (1.21): example_test.go#L35
undefined: AfterJobRuns (typecheck)