Skip to content

Commit cfdda46

Browse files
committed
.github/workflows: add CI run and slack channel for notifications
1 parent 066afad commit cfdda46

2 files changed

Lines changed: 34 additions & 1 deletion

File tree

.github/workflows/ci-linux.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Linux CI
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
7+
pull_request:
8+
branches: ["main"]
9+
10+
# Allows manual triggering of the workflow
11+
workflow_dispatch:
12+
13+
jobs:
14+
run-tests:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Set up Go
20+
uses: actions/setup-go@v4
21+
with:
22+
go-version: "1.26"
23+
24+
# Only run in this linux based runner
25+
- name: Check Formatting
26+
run: |
27+
if [ "$(gofmt -l . | wc -l)" -gt 0 ]; then
28+
gofmt -l .
29+
exit 1
30+
fi
31+
32+
- name: Run tests
33+
run: make test

.github/workflows/govulncheck.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
token: ${{ secrets.GOVULNCHECK_BOT_TOKEN }}
3232
payload: |
3333
{
34-
"channel": "TO_BE_MANUALLY_INPUT_LATER",
34+
"channel": "C0AALS0EQF5",
3535
"blocks": [
3636
{
3737
"type": "section",

0 commit comments

Comments
 (0)