Fix broken commit link in generated messages (#1490) #890
This file contains 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
name: Master and Tag Builds | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- v* | |
paths-ignore: | |
- '.github/workflows/update-providers.yml' | |
- 'README.md' | |
env: | |
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }} | |
jobs: | |
build: | |
name: Build and Test Bridge | |
strategy: | |
matrix: | |
go-version: [1.20.x] | |
platform: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Check out source code | |
uses: actions/checkout@master | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
cache-dependency-path: | | |
**/go.sum | |
- name: Install pulumi | |
uses: pulumi/actions@v4 | |
with: | |
pulumi-version: ^3.0.0 | |
- name: Build | |
run: make build | |
- name: Install golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
skip-cache: true | |
skip-pkg-cache: true | |
skip-build-cache: true | |
version: v1.51.2 | |
- name: Lint | |
run: make lint | |
- name: Test | |
run: make test | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |