Skip to content

Commit

Permalink
Use buildjet for actions
Browse files Browse the repository at this point in the history
Should provide a speedup.
  • Loading branch information
jschaf committed Jan 2, 2024
1 parent 8529e51 commit e085768
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 30 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/go_lint.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Lint
on: [push, pull_request]
on: push
jobs:
lint:
name: lint
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- uses: actions/setup-go@v3
- uses: buildjet/setup-go@v4
with:
go-version: 1.21.5
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/go_test.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Test
on: [push, pull_request]
on: push
jobs:
test:
name: go test
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2204
services:
postgres:
image: postgres
Expand All @@ -19,10 +19,10 @@ jobs:
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@v4
- uses: buildjet/setup-go@v4
with:
go-version: '^1.16'
go-version: '1.21.5'
- run: go test ./...
- run: go test --tags=acceptance_test ./...
env:
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/release.yaml

This file was deleted.

0 comments on commit e085768

Please sign in to comment.