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 ++++++++++++++++++++++ workflows/test.yml | 20 -------------------- 2 files changed, 22 insertions(+), 20 deletions(-) create mode 100644 .github/workflows/test.yml delete mode 100644 workflows/test.yml 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 diff --git a/workflows/test.yml b/workflows/test.yml deleted file mode 100644 index 7ffcda6..0000000 --- a/workflows/test.yml +++ /dev/null @@ -1,20 +0,0 @@ -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: "24.2" - elixir-version: "1.13.1" - gleam-version: "0.19.0-rc3" - - run: gleam test - - run: gleam format --check src test -- cgit v1.2.3