Skip to content

Commit

Permalink
Switch to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasknoepfle committed Mar 22, 2024
1 parent 9a6c606 commit 6fb5ceb
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 39 deletions.
37 changes: 0 additions & 37 deletions .circleci/config.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
on: push

jobs:
test:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: '25.1'
elixir-version: '1.14.5'
- run: mix deps.get
- run: mix format --check-formatted
- run: mix test
- run: mix credo --strict
- run: mix docs
demo:
runs-on: ubuntu-latest
name: Demo
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: '25.1'
elixir-version: '1.14.5'
- uses: actions/setup-node@v4
with:
node-version: 18
- uses: nanasess/setup-chromedriver@v2
- run: cd demo && mix deps.get
- run: cd demo && mix format --check-formatted
- run: cd demo/assets && npm install
- run: cd demo && mix test
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
elixir 1.14.1
elixir 1.14.5
erlang 25.1.2
nodejs 16.13.0
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
[![Hex pm](http://img.shields.io/hexpm/v/bitstyles_phoenix.svg?style=flat)](https://hex.pm/packages/bitstyles_phoenix)
[![Hex docs](http://img.shields.io/badge/hex.pm-docs-green.svg?style=flat)](https://hexdocs.pm/bitstyles_phoenix)
[![License](https://img.shields.io/hexpm/l/bitstyles_phoenix?style=flat)](./LICENSE.txt)
[![CircleCI](https://circleci.com/gh/bitcrowd/bitstyles_phoenix.svg?style=shield)](https://circleci.com/gh/bitcrowd/bitstyles_phoenix)

Basic helpers for [bitstyles](https://github.com/bitcrowd/bitstyles) for elixir phoenix projects.

Expand Down

0 comments on commit 6fb5ceb

Please sign in to comment.