diff options
| author | Fuwn <[email protected]> | 2024-05-14 06:43:53 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-05-14 06:43:53 +0000 |
| commit | 0d4d6717f55a9e45cffbd6a2300706efeed45f2e (patch) | |
| tree | 79fc3efaedd87a32cea2f7142229231c0c0e7e59 /.github/workflows | |
| parent | feat: initial release (diff) | |
| download | mayu-0d4d6717f55a9e45cffbd6a2300706efeed45f2e.tar.xz mayu-0d4d6717f55a9e45cffbd6a2300706efeed45f2e.zip | |
ci(github): gleam check workflow
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/check.yaml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml new file mode 100644 index 0000000..83ec561 --- /dev/null +++ b/.github/workflows/check.yaml @@ -0,0 +1,23 @@ +name: Check + +on: + push: + branches: + - main + pull_request: + +jobs: + check: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: erlef/setup-beam@v1 + with: + otp-version: "26.1" + gleam-version: "1.1.0" + rebar3-version: "3" + # elixir-version: "1.15.4" + - run: gleam deps download + - run: gleam format --check src + - run: gleam check |