hauleth
Some time ago GitHub announced Actions (still in beta, but with public access) that is like built-in CI service with great integration into rest of GitHub. This allows developers to define their own actions to be reused by others and publish them on Marketplace.
So I created new action that allows to run automatic Credo reviews by utilising great Reviewdog tool.
Usage is pretty simple. If you have Workflows enabled you just create new file named .github/workflows/lint.yml that contains:
name: Lints CI
on: [pull_request]
jobs:
credo:
runs-on: ubuntu-latest
container:
image: elixir:1.9.1-slim
steps:
- uses: actions/checkout@v1
- name: Install Dependencies
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Run Credo
uses: hauleth/reviewdog-action-credo@v1
with:
github_token: ${{ secrets.github_token }}
And as the result you will get report with style violations.
Trending in Discussions
As the title says, please share what youâve been up to with Elixir. Whether thatâs been learning it, looking into it, making stuff with i...
New
The obligatory hello world thread!
Who are you and where are you from? :stuck_out_tongue:
New
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
I was working on an Ecto migration and I needed a timestamp. So, for the nth time, I looked up the different data types for timestamps, a...
New
Flyâs CEO posted this recently - Turn And Face The Strange ¡ The Fly Blog
It says that Fly is going all-in on sprites, which is a worry ...
New
Weâre evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using.
Weâre particularly inte...
New
Is there a word for the ~> symbol used in Version strings?
Do you also just call it a Squiggle Arrow⢠?!
New
Other Trending Topics
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rustâs ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
There are three potential reasons for members of this forum to have a look at https://vutuv.de
You are tired or annoyed of LinkedIn.
Yo...
New
ICal is a library for interacting with iCalendar data. It parses iCalendars into typed Elixir structs via ICal.from_ics, and can prepare ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #blog-post
- #ai
- #phoenix_html
- #elixirconf-us
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming











Showing Posts 1 to 5- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
OvermindDL1
Ooo very nice!
hauleth
Also crated one for Erlang code and Elvis linter.
https://github.com/hauleth/reviewdog-action-elvis
hauleth
I have created GH Organisation to group all repositories that are meant for operations that manage BEAM projects.
ijunaidfarooq
Do this comment on GH Pull request? same as Hound?
what violation and on which file it happened?
ijunaidfarooq
Hi, this is what I did.
1: Added a file in .github/workflows/ci.yml
it gave me this error.