workflows #5

Merged
GW_MC merged 5 commits from workflows into master 2026-04-16 13:02:30 +08:00
Showing only changes of commit 7fde3533d9 - Show all commits

View File

@@ -11,9 +11,28 @@ on:
- master - master
jobs: jobs:
test-crates: get-ci-image:
needs: frontend-build
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs:
image_tag: ${{ steps.setup.outputs.image_tag }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup CI metadata
id: setup
uses: ./.github/actions/setup-ci-metadata
with:
registry: ${{ secrets.OVERRIDE_REGISTRY }}
image_tag: latest
test-crates:
runs-on: ubuntu-latest
needs:
- frontend-build
- get-ci-image
container:
image: ${{ needs.get-ci-image.outputs.image_tag }}
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3
@@ -35,8 +54,12 @@ jobs:
run: cargo test --all-features run: cargo test --all-features
lint-crates: lint-crates:
needs: frontend-build
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs:
- frontend-build
- get-ci-image
container:
image: ${{ needs.get-ci-image.outputs.image_tag }}
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3