[actions] Update to latest versions of github actions #2292
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
env: | |
GIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }} | |
name: "Run SDK code format check" | |
on: | |
pull_request: | |
types: [labeled, opened, synchronize, reopened, auto_merge_enabled] | |
push: | |
branches: | |
- main | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ env.GIT_SHA }} | |
- uses: ./.github/actions/run-fmt |