From 6dbaf5178402616f98ab2688ebff63993072f406 Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Fri, 5 Apr 2024 21:46:38 +0200 Subject: [PATCH] ci: combine jobs into one --- .github/workflows/test.yaml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 8fc481a..97ce860 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -21,7 +21,7 @@ on: workflow_dispatch: jobs: - render-dashboards: + render-lint-dashboards: runs-on: ubuntu-22.04 strategy: @@ -49,23 +49,6 @@ jobs: jsonnet -J vendor --tla-code 'datasources=["prometheus-test"]' --output-file rendered-dashboards/`basename $file` $file done - - name: Upload rendered dashboards - uses: actions/upload-artifact@v4 - with: - name: rendered-dashboards-${{ github.run_attempt }} - path: ./rendered-dashboards - - lint-dashboards: - runs-on: ubuntu-22.04 - needs: [render-dashboards] - - steps: - - name: Download rendered dashboards - uses: actions/download-artifact@v4 - with: - name: rendered-dashboards-${{ github.run_attempt }} - path: ./rendered-dashboards - - name: Install dashboard-linter run: | go install github.com/grafana/dashboard-linter@latest