From c8c376ebbb50bd35624e1f59826cc6c055fe735e Mon Sep 17 00:00:00 2001 From: Jonathan Clem Date: Wed, 28 Aug 2019 17:25:36 -0400 Subject: [PATCH] Add a licensed workflow --- .github/workflows/licensed.yml | 17 +++++++++++++++++ README.md | 1 + 2 files changed, 18 insertions(+) create mode 100644 .github/workflows/licensed.yml diff --git a/.github/workflows/licensed.yml b/.github/workflows/licensed.yml new file mode 100644 index 0000000..4fee6d5 --- /dev/null +++ b/.github/workflows/licensed.yml @@ -0,0 +1,17 @@ +name: Licensed + +on: + push: {branches: master} + pull_request: {branches: master} + repository_dispatch: + +jobs: + test: + runs-on: ubuntu-latest + name: Check licenses + steps: + - uses: actions/checkout@v1.0.0 + - uses: actions/setup-ruby@v1.0.2 + with: {ruby-version: 3.x} + - run: gem install licensed + - run: licensed status diff --git a/README.md b/README.md index 687cfbe..a9b7432 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # setup-elixir [![](https://github.com/actions/setup-elixir/workflows/Test/badge.svg)](https://github.com/actions/setup-elixir/actions) +[![](https://github.com/actions/setup-elixir/workflows/Licensed/badge.svg)](https://github.com/actions/setup-elixir/actions) This actions sets up an Elixir environment for use in Actions by: