diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 91d0bc2..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,19 +0,0 @@ -version: 2.1 - -jobs: - lint: - docker: - - image: bufbuild/buf:1.23.1 - steps: - - checkout - - run: - name: lint - command: buf lint - - run: - name: format - command: buf format --exit-code - -workflows: - build: - jobs: - - lint diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..fda0a01 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,20 @@ +name: CI + +on: push + +permissions: + contents: read + +jobs: + lint: + runs-on: ubuntu-latest + name: Protobuf lint + container: + image: bufbuild/buf:1.23.1 + steps: + - name: Checkout the code + uses: actions/checkout@v3 + - name: lint + run: buf lint + - name: format + run: buf format --exit-code