Skip to content

Commit

Permalink
Use shared workflows (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldemailly committed Mar 23, 2024
1 parent 72f286c commit a89c69b
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 386 deletions.
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.

27 changes: 27 additions & 0 deletions .github/workflows/include.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: "Shared server binery 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
call-releaser:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
uses: fortio/workflows/.github/workflows/releaser.yml@main
with:
description: "TLS ingress reverse proxy and multiplexer with autocert and simple routing rules"
secrets:
GH_PAT: ${{ secrets.GH_PAT }}
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
DOCKER_USER: ${{ secrets.DOCKER_USER }}
38 changes: 0 additions & 38 deletions .github/workflows/releaser.yml

This file was deleted.

4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.goreleaser.yaml
.golangci.yml
proxy
.vscode

dist/
169 changes: 0 additions & 169 deletions .golangci.yml

This file was deleted.

0 comments on commit a89c69b

Please sign in to comment.