Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix github action #2

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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