Skip to content

Fix db block range alignement #1962

Fix db block range alignement

Fix db block range alignement #1962

Workflow file for this run

name: CI
on:
pull_request:
branches: [ "main", "develop" ]
jobs:
build:
runs-on: self-hosted
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.ACCESS_TOKEN }}
- name: Install goimports
run: go get golang.org/x/tools/cmd/goimports
- name: Check import formatting
run: diff -u <(echo -n) <(find . \( -path "./carmen" -o -path "./tosca" \) -prune -o -name '*.go' -exec goimports -l {} \;)
- name: Check code formatting
run: diff -u <(echo -n) <(find . \( -path "./carmen" -o -path "./tosca" \) -prune -o -name '*.go' -exec gofmt -d -s {} \;)