Skip to content

Commit

Permalink
Switch to shared workflows and linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ldemailly committed Mar 22, 2024
1 parent 8ed34bf commit 36c523c
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 303 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.

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

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/include.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Same as full workflow (eg from fortio/multicurl) but without the goreleaser step
name: "Shared library fortio workflows"

on:
push:
branches: [ main ]
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.golangci.yml
176 changes: 0 additions & 176 deletions .golangci.yml

This file was deleted.

10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,12 @@ line:
screenshot: line example
@echo

.PHONY: all test example screenshot line

lint: .golangci.yml
golangci-lint run

.golangci.yml: Makefile
curl -fsS -o .golangci.yml https://raw.githubusercontent.com/fortio/workflows/main/golangci.yml


.PHONY: all test example screenshot line lint
Loading

0 comments on commit 36c523c

Please sign in to comment.