Skip to content

Commit

Permalink
Use shared workflows (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldemailly committed Mar 21, 2024
1 parent 7793a4c commit 4ee64b5
Show file tree
Hide file tree
Showing 13 changed files with 161 additions and 480 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/codecov.yml

This file was deleted.

67 changes: 0 additions & 67 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/gochecks.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/include.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Remember to change/update `description` below when copying
# this include
name: "Shared cli/server fortio workflows"
on:
push:
branches: [ main ]
tags:
# so a vX.Y.Z-test1 doesn't trigger build
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-pre*'
pull_request:
branches: [ main ]

jobs:
call-gochecks:
uses: fortio/workflows/.github/workflows/gochecks.yml@main
call-codecov:
uses: fortio/workflows/.github/workflows/codecov.yml@main
call-codeql:
uses: fortio/workflows/.github/workflows/codeql-analysis.yml@main
permissions:
actions: read
contents: read
security-events: write
call-releaser:
uses: fortio/workflows/.github/workflows/releaser.yml@main
with:
description: "Proxy for applications aiming to dispatch messages to Slack nicely"
secrets:
GH_PAT: ${{ secrets.GH_PAT }}
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
DOCKER_USER: ${{ secrets.DOCKER_USER }}
41 changes: 0 additions & 41 deletions .github/workflows/releaser.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
slack-proxy
.goreleaser.yaml
.golangci.yml
171 changes: 0 additions & 171 deletions .golangci.yml

This file was deleted.

0 comments on commit 4ee64b5

Please sign in to comment.