Skip to content

Commit

Permalink
use self-hosted runner
Browse files Browse the repository at this point in the history
  • Loading branch information
wsodsong committed Apr 9, 2024
1 parent 2e4c21e commit bf5d128
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/CI_UBUNTU.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,10 @@ on:
jobs:

build:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v3
with:
go-version: 1.21

- name: Set up cmake
uses: jwlawson/actions-setup-cmake@v1.13
with:
cmake-version: '3.19.x'
- name: Checkout repository
uses: actions/checkout@v3

- name: Check import formatting
run: diff -u <(echo -n) <(find . \( -path "./carmen" -o -path "./tosca" \) -prune -o -name '*.go' -exec goimports -l {} \;)
Expand All @@ -26,4 +19,4 @@ jobs:
run: diff -u <(echo -n) <(find . \( -path "./carmen" -o -path "./tosca" \) -prune -o -name '*.go' -exec gofmt -d -s {} \;)

- name: Test
run: go test -v ./db ./substate
run: go test -v ./...

0 comments on commit bf5d128

Please sign in to comment.