From 1ccbc831f737c25d0d350b12eb7588a4d306b476 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Szuma?= Date: Tue, 18 Jun 2024 17:25:39 +0200 Subject: [PATCH] Migrate to github actions from circleci --- .circleci/config.yml | 19 ------------------- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 19 deletions(-) delete mode 100644 .circleci/config.yml create mode 100644 .github/workflows/ci.yml 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