Skip to content

Commit 013252b

Browse files
Fix GHA (#10)
1 parent a1bfc8d commit 013252b

File tree

3 files changed

+31
-18
lines changed

3 files changed

+31
-18
lines changed

.github/workflows/build_artifact.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,14 @@ jobs:
2121
env: {}
2222

2323
steps:
24-
- name: CI
25-
uses: ./github/workflows/ci.yaml
24+
- name: Checkout
25+
uses: actions/checkout@v4
26+
27+
- name: Go
28+
uses: ./.github/workflows/composite/go
2629

2730
- name: Build
28-
run: make clean lint prepare build pack ß
31+
run: make clean lint prepare build pack
2932

3033
- name: Environment
3134
run: |

.github/workflows/ci.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: CI
33
on:
44
push:
55
paths:
6-
- .github/workflows/ci.yml
7-
- pkg/**
6+
- '.github/workflows/**.yml'
7+
- 'pkg/**'
88
- go.mod
99
- go.sum
1010
- Makefile
@@ -25,18 +25,9 @@ jobs:
2525
env: {}
2626

2727
steps:
28-
- uses: actions/checkout@v4
28+
- name: Checkout
29+
uses: actions/checkout@v4
2930

30-
- name: Setup Go
31-
uses: actions/setup-go@v5
32-
with:
33-
go-version: '1.22'
31+
- name: Go
32+
uses: ./.github/workflows/composite/go
3433

35-
- name: golangci-lint
36-
uses: golangci/golangci-lint-action@v6
37-
with:
38-
version: v1.58.2
39-
args: --verbose --concurrency=2 --timeout=600s
40-
41-
- name: Test with the Go CLI
42-
run: go test -v ./...
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Go
2+
3+
runs:
4+
using: composite
5+
steps:
6+
- name: Setup Go
7+
uses: actions/setup-go@v5
8+
with:
9+
go-version: '1.22'
10+
11+
- name: golangci-lint
12+
uses: golangci/golangci-lint-action@v6
13+
with:
14+
version: v1.58.2
15+
args: --verbose --concurrency=2 --timeout=600s
16+
17+
- name: Test with the Go CLI
18+
shell: bash
19+
run: go test -v ./...

0 commit comments

Comments
 (0)