Rename steps to build and test

This commit is contained in:
Anton Tayanovskyy 2021-11-19 21:47:11 -05:00
parent 9a48902e1c
commit c76075005b

View file

@ -34,24 +34,6 @@ concurrency:
jobs:
build-pulumi-binaries:
uses: pulumi/pulumi/.github/workflows/build.yml@e596407a346826b210cadd743a40a5c2b1e5336e
inspect-pulumi-binaries:
runs-on: ubuntu-latest
needs: build-pulumi-binaries
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
name: pulumi-go-binaries
path: bin
- name: Display structure of downloaded files
run: ls -R
working-directory: bin
comment-notification:
# We only care about adding the result to the PR if it's a repository_dispatch event
if: github.event_name == 'repository_dispatch'
@ -70,6 +52,7 @@ jobs:
Please view the results of the PR Build + Acceptance Tests Run [Here][1]
[1]: ${{ steps.vars.outputs.run-url }}
go-lint:
container: golangci/golangci-lint:latest
name: Lint ${{ matrix.directory }}
@ -85,6 +68,7 @@ jobs:
- name: Lint ${{ matrix.directory }}
run: |
cd ${{ matrix.directory }} && golangci-lint run -c ../.golangci.yml
sdk-lint:
name: Lint SDKs
runs-on: ubuntu-latest
@ -143,9 +127,14 @@ jobs:
- name: Lint .NET
run: |
cd sdk/dotnet && make lint
build_and_test:
name: Build & Test
needs: build-pulumi-binaries
build:
name: Build
uses: pulumi/pulumi/.github/workflows/build.yml@9a48902e1c681960e40a41db96c31eeb4a47c758
test:
name: Test
needs: build
strategy:
matrix:
platform: [ ubuntu-latest, macos-latest ]