Skip to content

Commit

Permalink
Use shared workflows and linter/releaser configs (#139)
Browse files Browse the repository at this point in the history
* first attempt at shared workflows

* fix up path

* ignore downloaded file so goreleaser hopefully doesn't complain

* delete the original .goreleaser.yaml

* add gochecks

* .golangci.yml is now downloaded from workflows/

* fix lints
  • Loading branch information
ldemailly authored Mar 21, 2024
1 parent a80e10f commit e0d12c5
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 391 deletions.
22 changes: 0 additions & 22 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: 26 additions & 0 deletions .github/workflows/include.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Shared cli 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:
uses: fortio/workflows/.github/workflows/releaser.yml@main
with:
description: "Fortio multi curl"
secrets:
GH_PAT: ${{ secrets.GH_PAT }}
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
DOCKER_USER: ${{ secrets.DOCKER_USER }}
40 changes: 0 additions & 40 deletions .github/workflows/releaser.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
coverage.out
.goreleaser.yaml
.golangci.yml
176 changes: 0 additions & 176 deletions .golangci.yml

This file was deleted.

Loading

0 comments on commit e0d12c5

Please sign in to comment.