Skip to content

Commit dd6860e

Browse files
authored
Switch to shared workflows and bump versions (#29)
1 parent ec9fa2c commit dd6860e

File tree

8 files changed

+35
-273
lines changed

8 files changed

+35
-273
lines changed

.github/workflows/codeql.yml

Lines changed: 0 additions & 76 deletions
This file was deleted.

.github/workflows/gochecks.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/include.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Same as full workflow (eg from fortio/multicurl) but without the goreleaser step
2+
name: "Shared library fortio workflows"
3+
4+
on:
5+
push:
6+
branches: [ main ]
7+
pull_request:
8+
branches: [ main ]
9+
10+
jobs:
11+
call-gochecks:
12+
uses: fortio/workflows/.github/workflows/gochecks.yml@main
13+
# call-codecov:
14+
# uses: fortio/workflows/.github/workflows/codecov.yml@main
15+
call-codeql:
16+
uses: fortio/workflows/.github/workflows/codeql-analysis.yml@main
17+
permissions:
18+
actions: read
19+
contents: read
20+
security-events: write

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.golangci.yml
12
# Binaries for programs and plugins
23
*.exe
34
*.exe~

.golangci.yml

Lines changed: 0 additions & 169 deletions
This file was deleted.

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
lint: .golangci.yml
3+
golangci-lint run
4+
5+
.golangci.yml: Makefile
6+
curl -fsS -o .golangci.yml https://raw.githubusercontent.com/fortio/workflows/main/golangci.yml
7+
8+
.PHONY: lint

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ module fortio.org/cli
33
go 1.18
44

55
require (
6-
fortio.org/log v1.12.0
7-
fortio.org/version v1.0.3
6+
fortio.org/log v1.12.1
7+
fortio.org/version v1.0.4
88
)
99

1010
require fortio.org/struct2env v0.4.0 // indirect

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
fortio.org/log v1.12.0 h1:5Yg4pL9Pp0jcWeJYixm2xikMCldVaSDMgDFDmQJZfho=
2-
fortio.org/log v1.12.0/go.mod h1:1tMBG/Elr6YqjmJCWiejJp2FPvXg7/9UAN0Rfpkyt1o=
1+
fortio.org/log v1.12.1 h1:8JNdFqOFbtifrdbqKkQZchGAoooLLr1J/tD2lYl1ZaI=
2+
fortio.org/log v1.12.1/go.mod h1:1tMBG/Elr6YqjmJCWiejJp2FPvXg7/9UAN0Rfpkyt1o=
33
fortio.org/struct2env v0.4.0 h1:k5alSOTf3YHiB3MuacjDHQ3YhVWvNZ95ZP/a6MqvyLo=
44
fortio.org/struct2env v0.4.0/go.mod h1:lENUe70UwA1zDUCX+8AsO663QCFqYaprk5lnPhjD410=
5-
fortio.org/version v1.0.3 h1:5gJ3plj6isAOMq52cI5ifo4cC+QHmJF76Wevc5Cp4x0=
6-
fortio.org/version v1.0.3/go.mod h1:2JQp9Ax+tm6QKiGuzR5nJY63kFeANcgrZ0osoQFDVm0=
5+
fortio.org/version v1.0.4 h1:FWUMpJ+hVTNc4RhvvOJzb0xesrlRmG/a+D6bjbQ4+5U=
6+
fortio.org/version v1.0.4/go.mod h1:2JQp9Ax+tm6QKiGuzR5nJY63kFeANcgrZ0osoQFDVm0=

0 commit comments

Comments
 (0)