Skip to content

Commit

Permalink
Refactor ci actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kysre committed Feb 11, 2024
1 parent 40d4981 commit 25b572c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: main-ci
name: build

on:
push:
branches:
- 'main'

jobs:
leader:
Leader:
runs-on: ubuntu-latest
steps:
-
Expand All @@ -29,7 +29,7 @@ jobs:
push: true
tags: kysre/turtlemq:leader-latest

datanode:
Datanode:
runs-on: ubuntu-latest
steps:
-
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dev.build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: dev-ci
name: build-dev

on:
push:
Expand All @@ -7,7 +7,7 @@ on:
- '!main'

jobs:
leader:
Leader:
runs-on: ubuntu-latest
steps:
-
Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:
push: true
tags: kysre/turtlemq:leader-${{ steps.extract_branch.outputs.branch }}

datanode:
Datanode:
runs-on: ubuntu-latest
steps:
-
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/go_test.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: go-test
name: Test
on: [push]
jobs:

test:
name: Go Test
jobs:
Go:
name: Leader Test
runs-on: ubuntu-latest
steps:

Expand Down

0 comments on commit 25b572c

Please sign in to comment.