Services.Tasks(): fix no Task objects being returned #334
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: 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 |