Skip to content

Services.Tasks(): fix no Task objects being returned #334

Services.Tasks(): fix no Task objects being returned

Services.Tasks(): fix no Task objects being returned #334

Workflow file for this run

name: Checks
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
# Get the code
- uses: actions/checkout@v3
# Setup our go environment
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '1.20.0'
# Build the code
- name: Run build
run: go build .
# Run unit tests
- name: Run tests
run: make test
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Setup our go environment
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '1.20.0'
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.52.2
args: --timeout=5m -v