From ab2ff059c86fcdd596396982ee3383b878fc3baf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=81=C4=99picki?= Date: Wed, 23 Feb 2022 22:20:10 +0100 Subject: Enable CI; Bump Gleam version --- .github/workflows/test.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/test.yml (limited to '.github/workflows') diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..3b5a731 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,22 @@ +name: test + +on: + push: + branches: + - main + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2.0.0 + - uses: erlef/setup-beam@v1 + with: + otp-version: false + gleam-version: '0.20.0' + - uses: actions/setup-node@v2 + with: + node-version: '16' + - run: gleam format --check src test + - run: gleam test -- cgit v1.2.3