ci: standarise gha names
galargh committed
Mar 2, 2023 at 09:54 UTC
2d65120fd5352af9c057acc5eb79023838276409
11 files changed
+20
-21
.github/workflows/build.yml
+2
-2
@@ -1,4 +1,4 @@
1
-name: 'interop'
1
+name: Interop
2
3
on:
4
workflow_dispatch:
@@ -38,7 +38,7 @@ jobs:
38
with:
39
name: kubo
40
path: cmd/ipfs/ipfs
41
- ipfs-interop:
41
+ interop:
42
needs: [prepare]
43
runs-on: ubuntu-latest
44
timeout-minutes: 20
.github/workflows/codeql-analysis.yml
+1
-2
@@ -16,9 +16,8 @@ permissions:
16
security-events: write # (github/codeql-action/autobuild)
17
18
jobs:
19
- analyze:
19
+ go:
20
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
21
- name: Analyze
21
runs-on: ubuntu-latest
22
timeout-minutes: 20
23
.github/workflows/docker-build.yml
+2
-2
@@ -1,4 +1,4 @@
1
-name: 'docker-build'
1
+name: Docker Build
2
3
on:
4
workflow_dispatch:
@@ -8,7 +8,7 @@ on:
8
- 'master'
9
10
jobs:
11
- docker-build:
11
+ head:
12
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
13
runs-on: ubuntu-latest
14
timeout-minutes: 10
.github/workflows/docker-image.yml
+2
-2
@@ -1,4 +1,4 @@
1
-name: Publish Docker image
1
+name: Docker Push
2
3
on:
4
workflow_dispatch:
@@ -13,7 +13,7 @@ permissions:
13
contents: read # to fetch code (actions/checkout)
14
15
jobs:
16
- push_to_registry:
16
+ docker-hub:
17
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
18
name: Push Docker image to Docker Hub
19
runs-on: ubuntu-latest
.github/workflows/gobuild.yml
+2
-2
@@ -1,4 +1,4 @@
1
-name: 'go build'
1
+name: Go Build
2
3
on:
4
workflow_dispatch:
@@ -11,7 +11,7 @@ jobs:
11
runner:
12
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
13
uses: ipfs/kubo/.github/workflows/runner.yml@master
14
- gobuild:
14
+ build:
15
needs: [runner]
16
runs-on: ${{ fromJSON(needs.runner.outputs.config).labels }}
17
timeout-minutes: 20
.github/workflows/golang-analysis.yml
+2
-2
@@ -1,4 +1,4 @@
1
-name: Go Checks
1
+name: Go Check
2
3
on:
4
workflow_dispatch:
@@ -11,7 +11,7 @@ permissions:
11
contents: read # to fetch code (actions/checkout)
12
13
jobs:
14
- unit:
14
+ check:
15
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
16
runs-on: ubuntu-latest
17
timeout-minutes: 10
.github/workflows/golint.yml
+2
-2
@@ -1,4 +1,4 @@
1
-name: 'go lint'
1
+name: Go Lint
2
3
on:
4
workflow_dispatch:
@@ -8,7 +8,7 @@ on:
8
- 'master'
9
10
jobs:
11
- golint:
11
+ lint:
12
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
13
runs-on: ubuntu-latest
14
timeout-minutes: 10
.github/workflows/gotest.yml
+2
-2
@@ -1,4 +1,4 @@
1
-name: 'go test'
1
+name: Go Test
2
3
on:
4
workflow_dispatch:
@@ -8,7 +8,7 @@ on:
8
- 'master'
9
10
jobs:
11
- gotest:
11
+ test:
12
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
13
runs-on: ubuntu-latest
14
timeout-minutes: 20
.github/workflows/runner.yml
+1
-1
@@ -1,4 +1,4 @@
1
-name: 'choose runner'
1
+name: Runner
2
3
on:
4
workflow_call:
.github/workflows/sharness.yml
+2
-2
@@ -1,4 +1,4 @@
1
-name: 'sharness'
1
+name: Sharness
2
3
on:
4
workflow_dispatch:
@@ -11,7 +11,7 @@ jobs:
11
runner:
12
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
13
uses: ipfs/kubo/.github/workflows/runner.yml@master
14
- sharness:
14
+ test:
15
needs: [runner]
16
runs-on: ${{ fromJSON(needs.runner.outputs.config).labels }}
17
timeout-minutes: 20
.github/workflows/sync-release-assets.yml
+2
-2
@@ -1,4 +1,4 @@
1
-name: Sync github release assets with dist.ipfs.tech
1
+name: Sync GitHub Release Assets
2
3
on:
4
workflow_dispatch:
@@ -13,7 +13,7 @@ permissions:
13
contents: write # to upload release asset
14
15
jobs:
16
- sync-github-and-dist-ipfs-tech:
16
+ dist-ipfs-tech:
17
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
18
runs-on: "ubuntu-latest"
19
timeout-minutes: 5