Skip to content

Commit

Permalink
fix github action (#2)
Browse files Browse the repository at this point in the history
Signed-off-by: zirain <[email protected]>
  • Loading branch information
zirain authored Jul 29, 2024
1 parent ab06aa9 commit 5592e29
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions .github/workflows/code-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,30 @@ on:
push:
branches:
- "main"
pull_request:
branches:
- "main"

permissions:
contents: read

jobs:
lint:
build-check:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
# enable modules that needed by Istio Dual Stack
- run: make lint

test:
name: test
runs-on: ubuntu-latest
needs: lint
steps:
- run: make test

build:
name: build
runs-on: ubuntu-latest
needs: test
steps:
- run: make build

docker:
name: docker
runs-on: ubuntu-latest
needs: build
needs: build-check
env:
HUB: ghcr.io/istio-ecosystem
steps:
- run: make docker
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- run: make docker

0 comments on commit 5592e29

Please sign in to comment.