Bump dawidd6/action-download-artifact from 11 to 12 #529
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # this file is generated using gen_integration.sh | |
| name: Integration Tests | |
| on: | |
| pull_request: | |
| branches: [main, staging] | |
| workflow_dispatch: | |
| jobs: | |
| build-linux: | |
| name: Build Draft Linux Binary | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Set up Go | |
| uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0 | |
| with: | |
| go-version: '1.24' | |
| - name: make | |
| run: make | |
| - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 | |
| with: | |
| name: helm-skaffold | |
| path: ./test/skaffold.yaml | |
| if-no-files-found: error | |
| - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 | |
| with: | |
| name: draft-binary | |
| path: ./draft | |
| if-no-files-found: error | |
| build-windows: | |
| name: Build Draft Windows Binary | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Set up Go | |
| uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0 | |
| with: | |
| go-version: '1.24' | |
| - name: make | |
| run: make | |
| - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 | |
| with: | |
| name: draft-binary-win | |
| path: ./draft.exe | |
| if-no-files-found: error | |
| - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 | |
| with: | |
| name: check_windows_helm | |
| path: ./test/check_windows_helm.ps1 | |
| if-no-files-found: error | |
| - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 | |
| with: | |
| name: check_windows_addon_helm | |
| path: ./test/check_windows_addon_helm.ps1 | |
| if-no-files-found: error | |
| - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 | |
| with: | |
| name: check_windows_kustomize | |
| path: ./test/check_windows_kustomize.ps1 | |
| if-no-files-found: error | |
| - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 | |
| with: | |
| name: check_windows_addon_kustomize | |
| path: ./test/check_windows_addon_kustomize.ps1 | |
| if-no-files-found: error | |
| gomodule: | |
| needs: | |
| - build-linux | |
| - build-windows | |
| uses: ./.github/workflows/integration-per-language.yml | |
| with: | |
| language: gomodule | |
| repo: davidgamero/go_echo | |
| go: | |
| needs: | |
| - build-linux | |
| - build-windows | |
| uses: ./.github/workflows/integration-per-language.yml | |
| with: | |
| language: go | |
| repo: "davidgamero/go-echo-no-mod" | |
| python: | |
| needs: | |
| - build-linux | |
| - build-windows | |
| uses: ./.github/workflows/integration-per-language.yml | |
| with: | |
| language: "python" | |
| repo: "OliverMKing/flask-hello-world" | |
| rust: | |
| needs: | |
| - build-linux | |
| - build-windows | |
| uses: ./.github/workflows/integration-per-language.yml | |
| with: | |
| language: "rust" | |
| repo: "OliverMKing/tiny-http-hello-world" | |
| javascript: | |
| needs: | |
| - build-linux | |
| - build-windows | |
| uses: ./.github/workflows/integration-per-language.yml | |
| with: | |
| language: "javascript" | |
| repo: "davidgamero/express-hello-world" | |
| ruby: | |
| needs: | |
| - build-linux | |
| - build-windows | |
| uses: ./.github/workflows/integration-per-language.yml | |
| with: | |
| language: "ruby" | |
| repo: "davidgamero/sinatra-hello-world" | |
| csharp: | |
| needs: | |
| - build-linux | |
| - build-windows | |
| uses: ./.github/workflows/integration-per-language.yml | |
| with: | |
| language: "csharp" | |
| repo: "imiller31/csharp-simple-web-app" | |
| java: | |
| needs: | |
| - build-linux | |
| - build-windows | |
| uses: ./.github/workflows/integration-per-language.yml | |
| with: | |
| language: "java" | |
| repo: "imiller31/simple-java-server" | |
| gradle: | |
| needs: | |
| - build-linux | |
| - build-windows | |
| uses: ./.github/workflows/integration-per-language.yml | |
| with: | |
| language: "gradle" | |
| repo: "imiller31/simple-gradle-server" | |
| swift: | |
| needs: | |
| - build-linux | |
| - build-windows | |
| uses: ./.github/workflows/integration-per-language.yml | |
| with: | |
| language: "swift" | |
| repo: "OliverMKing/swift-hello-world" | |
| erlang: | |
| needs: | |
| - build-linux | |
| - build-windows | |
| uses: ./.github/workflows/integration-per-language.yml | |
| with: | |
| language: "erlang" | |
| repo: "bfoley13/ErlangExample" | |
| clojure: | |
| needs: | |
| - build-linux | |
| - build-windows | |
| uses: ./.github/workflows/integration-per-language.yml | |
| with: | |
| language: "clojure" | |
| repo: "imiller31/clojure-simple-http" | |
| linux-integration-fail: | |
| name: Integration Test Summary | |
| runs-on: ubuntu-latest | |
| needs: | |
| - gomodule | |
| - go | |
| - python | |
| - rust | |
| - javascript | |
| - ruby | |
| - csharp | |
| - java | |
| - gradle | |
| - swift | |
| - erlang | |
| - clojure | |
| if: ${{ cancelled() || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'failure') }} # i cant believe this is necessary https://github.com/actions/runner/issues/2566 | |
| steps: | |
| - run: | | |
| echo "Some workflows have failed!" | |
| exit 1 |