Skip to content

Commit 785e2be

Browse files
committed
added lint workflow
1 parent f28c53f commit 785e2be

1 file changed

Lines changed: 27 additions & 13 deletions

File tree

.github/workflows/test.yml

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ on:
55
tags:
66
- 'v*' # match tags that start with v (like v1.0.0)
77
branches:
8-
- dev
8+
- release
99
- master
10+
- dev
1011
paths:
1112
- 'src/**'
1213

1314
jobs:
14-
lint-test:
15-
name: lint and test
15+
lint:
16+
name: lint
1617
runs-on: ubuntu-latest
1718
steps:
1819
- uses: actions/checkout@v4
@@ -29,13 +30,26 @@ jobs:
2930
with:
3031
version: v1.64
3132

32-
# docker setup
33-
- name: Set up Docker Buildx
34-
uses: docker/setup-buildx-action@v3
35-
36-
- name: Install dependencies
37-
run: go mod download
38-
39-
- name: Run test
40-
run: |
41-
go test ./service/jobs/ -v -run Test500Jobs
33+
# test: todo
34+
# name: test go
35+
# runs-on: ubuntu-latest
36+
# steps:
37+
# - uses: actions/checkout@v4
38+
# with:
39+
# fetch-depth: 0
40+
#
41+
# - uses: actions/setup-go@v5
42+
# with:
43+
# go-version: '1.24'
44+
# cache: true
45+
#
46+
# # docker setup for running tests
47+
# - name: Set up Docker Buildx
48+
# uses: docker/setup-buildx-action@v3
49+
#
50+
# - name: Install dependencies
51+
# run: go mod download
52+
#
53+
# - name: Run test
54+
# run: |
55+
# go test ./service/jobs/ -v -run Test500Jobs

0 commit comments

Comments
 (0)