Skip to content

Commit

Permalink
lint on hosted runner
Browse files Browse the repository at this point in the history
  • Loading branch information
abe-winter committed Apr 16, 2024
1 parent 8251b6d commit 0409258
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/compile_protos.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Compile Protos

concurrency:
group: ${{ github.event.pull_request.id }}
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@ jobs:
test:
name: Test For Lint and Breaking Changes
timeout-minutes: 5
runs-on: [self-hosted, x64]
container:
image: ghcr.io/viamrobotics/canon:amd64-cache
options: --platform linux/amd64
runs-on: ubuntu-latest
# container: ghcr.io/viamrobotics/canon:amd64-cache
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- uses: bufbuild/buf-setup-action@v1
# Run all Lint runs
- uses: bufbuild/buf-lint-action@v1
Expand Down

0 comments on commit 0409258

Please sign in to comment.