From 6820e88da534af6167e39edb2addee90c1c35d04 Mon Sep 17 00:00:00 2001 From: Wiwatta Mongkhonchit Date: Sat, 3 Apr 2021 18:11:58 +0700 Subject: [PATCH] Use the latest setup beam for github action Erlef already changed the package name from setup-elixir to setup-beam. This commit update the workflow and also document so that they're up-to-date. --- .github/workflows/tests.yml | 2 +- README.md | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 64f23ae..7cc9d30 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,7 +15,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v2 - - uses: erlef/setup-elixir@v1 + - uses: erlef/setup-beam@v1 with: otp-version: ${{ matrix.otp }} elixir-version: ${{ matrix.elixir }} diff --git a/README.md b/README.md index 5933206..aa585f8 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,7 @@ end # Usage ## Mix Tasks +- [ExCoveralls](#excoveralls) - [Settings](#settings) - [mix.exs](#mixexs) - [Usage](#usage) @@ -73,7 +74,7 @@ end - [[mix coveralls.travis] Post coverage from travis](#mix-coverallstravis-post-coverage-from-travis) - [.travis.yml](#travisyml) - [[mix coveralls.github] Post coverage from GitHub Actions](#mix-coverallsgithub-post-coverage-from-github-actions) - - [.github/workflows/main.yml](#githubworkflowsexampleyml) + - [.github/workflows/example.yml](#githubworkflowsexampleyml) - [[mix coveralls.circle] Post coverage from circle](#mix-coverallscircle-post-coverage-from-circle) - [circle.yml](#circleyml) - [[mix coveralls.semaphore] Post coverage from semaphore](#mix-coverallssemaphore-post-coverage-from-semaphore) @@ -90,9 +91,10 @@ end - [Exclude Files](#exclude-files) - [Terminal Report Output](#terminal-report-output) - [Coverage Options](#coverage-options) - - [Ignore Lines](#ignore-lines) - - [Notes](#notes) - - [Todo](#todo) + - [Ignore Lines](#ignore-lines) + - [Notes](#notes) + - [Todo](#todo) + - [License](#license) ### [mix coveralls] Show coverage Run the `MIX_ENV=test mix coveralls` command to show coverage information on localhost. @@ -215,7 +217,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v1.0.0 - - uses: actions/setup-elixir@v1.0.0 + - uses: erlef/setup-beam@v1 with: otp-version: ${{matrix.otp}} elixir-version: ${{matrix.elixir}}