Skip to content

Commit 3c09689

Browse files
nblair2GHOST-6
andauthored
fix(CI): ci action on PR accept -> release action (#2)
add the ci (lint, test) actions to pushes to main (PR accepted) so that the release action will activate now Co-authored-by: GHOST6 <github@nisb.net>
1 parent eabee20 commit 3c09689

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
name: CI
22

33
on:
4+
push:
5+
branches: [ "main" ]
46
pull_request:
57
branches: [ "**" ]
8+
paths:
9+
- '**.go'
10+
- 'go.mod'
11+
- 'go.sum'
12+
- '.github/workflows/ci.yml'
613

714
jobs:
815
golangci-lint:
@@ -13,6 +20,8 @@ jobs:
1320
- uses: actions/setup-go@v6
1421
with:
1522
go-version: 1.24.4
23+
- name: Install libpcap-dev
24+
run: sudo apt-get update && sudo apt-get install -y libpcap-dev
1625
- uses: golangci/golangci-lint-action@v8
1726
with:
1827
version: v2.5.0

0 commit comments

Comments
 (0)