diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d18d33bda..1775e632b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: name: PR Workflow # If any dependent jobs fails, this WF skips which won't block merging PRs # calling always() is required for this WF to run all the time - if: github.repository_owner == 'aws' && always() + runs-on: ubuntu-latest needs: - unit-functional @@ -54,7 +54,7 @@ jobs: unit-functional: name: ${{ matrix.os }} / ${{ matrix.python }} / unit-functional - if: github.repository_owner == 'aws' + runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -78,7 +78,7 @@ jobs: node-integration: name: ${{ matrix.os }} / ${{ matrix.python }} / node / npm ${{ matrix.npm }}.x - if: github.repository_owner == 'aws' + runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -109,7 +109,7 @@ jobs: node-esbuild-integration: name: ${{ matrix.os }} / ${{ matrix.python }} / esbuild / npm ${{ matrix.npm }}.x - if: github.repository_owner == 'aws' + runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -142,7 +142,7 @@ jobs: golang-integration: name: ${{ matrix.os }} / ${{ matrix.python }} / golang - if: github.repository_owner == 'aws' + runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -169,7 +169,7 @@ jobs: java-maven-integration: name: ${{ matrix.os }} / ${{ matrix.python }} / java maven - if: github.repository_owner == 'aws' + runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -197,7 +197,7 @@ jobs: java-gradle-integration: name: ${{ matrix.os }} / ${{ matrix.python }} / java gradle - if: github.repository_owner == 'aws' + runs-on: ${{ matrix.os }} env: GRADLE_OPTS: -Dorg.gradle.daemon=false @@ -220,14 +220,14 @@ jobs: python-version: ${{ matrix.python }} - uses: actions/setup-java@v4 with: - distribution: 'zulu' + distribution: 'temurin' java-version: '21' - run: make init - run: pytest -vv tests/integration/workflows/java_gradle custom-make-integration: name: ${{ matrix.os }} / ${{ matrix.python }} / custom make - if: github.repository_owner == 'aws' + runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -251,7 +251,7 @@ jobs: python-integration: name: ${{ matrix.os }} / ${{ matrix.python }} / python - if: github.repository_owner == 'aws' + runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -279,7 +279,7 @@ jobs: ruby-integration: name: ${{ matrix.os }} / ${{ matrix.python }} / ruby - if: github.repository_owner == 'aws' + runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -306,7 +306,7 @@ jobs: dotnet-integration: name: ${{ matrix.os }} / ${{ matrix.python }} / dotnet - if: github.repository_owner == 'aws' + runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -330,7 +330,7 @@ jobs: rust-cargo-lambda-integration: name: ${{ matrix.os }} / ${{ matrix.python }} / rust-cargo-lambda - if: github.repository_owner == 'aws' + runs-on: ${{ matrix.os }} env: CARGO_LAMBDA_VERSION: 0.15.0 diff --git a/README.md b/README.md index c7528017c..257e44961 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ Lambda Builders currently contains the following workflows * Typescript with esbuild * Ruby with Bundler * Go with Mod +* * Rust with Cargo In Addition to above workflows, AWS Lambda Builders also supports *Custom Workflows* through a Makefile.