Skip to content

Commit 4ee64b5

Browse files
authored
Use shared workflows (#49)
1 parent 7793a4c commit 4ee64b5

13 files changed

+161
-480
lines changed

.github/workflows/codecov.yml

-21
This file was deleted.

.github/workflows/codeql-analysis.yml

-67
This file was deleted.

.github/workflows/gochecks.yml

-26
This file was deleted.

.github/workflows/include.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Remember to change/update `description` below when copying
2+
# this include
3+
name: "Shared cli/server fortio workflows"
4+
on:
5+
push:
6+
branches: [ main ]
7+
tags:
8+
# so a vX.Y.Z-test1 doesn't trigger build
9+
- 'v[0-9]+.[0-9]+.[0-9]+'
10+
- 'v[0-9]+.[0-9]+.[0-9]+-pre*'
11+
pull_request:
12+
branches: [ main ]
13+
14+
jobs:
15+
call-gochecks:
16+
uses: fortio/workflows/.github/workflows/gochecks.yml@main
17+
call-codecov:
18+
uses: fortio/workflows/.github/workflows/codecov.yml@main
19+
call-codeql:
20+
uses: fortio/workflows/.github/workflows/codeql-analysis.yml@main
21+
permissions:
22+
actions: read
23+
contents: read
24+
security-events: write
25+
call-releaser:
26+
uses: fortio/workflows/.github/workflows/releaser.yml@main
27+
with:
28+
description: "Proxy for applications aiming to dispatch messages to Slack nicely"
29+
secrets:
30+
GH_PAT: ${{ secrets.GH_PAT }}
31+
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
32+
DOCKER_USER: ${{ secrets.DOCKER_USER }}

.github/workflows/releaser.yml

-41
This file was deleted.

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
slack-proxy
2+
.goreleaser.yaml
3+
.golangci.yml

.golangci.yml

-171
This file was deleted.

0 commit comments

Comments
 (0)