Skip to content

added working dir

added working dir #3

Workflow file for this run

name: Go Lint and Test
on:
workflow_dispatch:
push:
tags:
- 'v*' # match tags that start with v (like v1.0.0)
branches:
- release
- master
- dev
paths:
- 'src/**'
- .github/workflows/test.yml
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: '1.24'
cache: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.64
working-directory: src
# test: todo
# name: test go
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0
#
# - uses: actions/setup-go@v5
# with:
# go-version: '1.24'
# cache: true
#
# # docker setup for running tests
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3
#
# - name: Install dependencies
# run: go mod download
#
# - name: Run test
# run: |
# go test ./service/jobs/ -v -run Test500Jobs