chore(main): release 0.92.22 #1429
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
on: pull_request | |
jobs: | |
golden: | |
runs-on: [self-hosted, ARM64, linux] | |
steps: | |
- name: Generate token | |
id: generate_token | |
uses: chanzuckerberg/[email protected] | |
with: | |
app_id: ${{ secrets.CZI_RELEASE_PLEASE_APP_ID }} | |
private_key: ${{ secrets.CZI_RELEASE_PLEASE_PK }} | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ steps.generate_token.outputs.token }} | |
ref: ${{ github.event.pull_request.head.ref }} | |
- uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
cache: true | |
- name: Run tests | |
run: make update-golden-files | |
- name: Commit updated mod tidy | |
uses: EndBug/add-and-commit@v9 | |
with: | |
add: -A | |
message: commit from ci -- updated golden files | |
test: | |
runs-on: [self-hosted, ARM64, linux] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
cache: true | |
- name: Run tests | |
run: make test-ci | |
lint: | |
runs-on: [self-hosted, ARM64, linux] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
cache: true | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- uses: hashicorp/setup-terraform@v1 | |
with: | |
terraform_version: 1.1.3 | |
- name: golangci-lint | |
uses: reviewdog/action-golangci-lint@v2 | |
with: | |
reporter: github-pr-review | |
- name: terraform fmt | |
run: terraform fmt -check -diff -recursive testdata |