File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Continuous Integration
1+ name : ci
22
33on :
4- pull_request :
5- types : [opened, reopened, synchronize]
64 push :
75 branches :
8- - ' master'
9- jobs :
10- Test :
11- runs-on : ubuntu-latest
12- steps :
13- - name : Checkout Code
14- uses : actions/checkout@v1
15-
16- - name : Set up Elixir
17- uses : erlef/setup-elixir@v1
18- with :
19- elixir-version : ' 1.11'
20- otp-version : ' 22.3'
21-
22- - name : Install Dependencies
23- run : |
24- mix local.rebar --force
25- mix local.hex --force
26- mix deps.get
27-
28- - name : Run Tests
29- run : mix test
30-
31- Linting :
32- runs-on : ubuntu-latest
33- steps :
34- - name : Checkout Code
35- uses : actions/checkout@v1
36-
37- - name : Set up Elixir
38- uses : erlef/setup-elixir@v1
39- with :
40- elixir-version : ' 1.11'
41- otp-version : ' 22.3'
42-
43- - name : Install Dependencies
44- run : |
45- mix local.rebar --force
46- mix local.hex --force
47- mix deps.get
48-
49- - name : Run Formatter
50- run : mix format --check-formatted
6+ - master
7+ pull_request :
8+ branches :
9+ - master
5110
52- - name : Run Credo
53- run : mix credo
11+ jobs :
12+ qa :
13+ uses : straw-hat-team/github-actions-workflows/.github/workflows/elixir-quality-assurance.yml@v1.6.3
14+ with :
15+ elixir-version : ' 1.14'
16+ otp-version : ' 24.3'
17+ credo-enabled : false
18+ dialyzer-enabled : false
Original file line number Diff line number Diff line change 1- name : Hexpm Release
1+ name : cd
22
33on :
44 release :
55 types : [published]
66
77jobs :
8- publish :
9- name : Publish
10- runs-on : ubuntu-latest
11- steps :
12- - uses : actions/checkout@v2
13- - name : Set up Elixir
14- uses : erlef/setup-elixir@v1
15- with :
16- elixir-version : ' 1.11'
17- otp-version : ' 22.3'
18- - name : Restore dependencies cache
19- uses : actions/cache@v2
20- with :
21- path : deps
22- key : ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
23- restore-keys : ${{ runner.os }}-mix-
24- - name : Install dependencies
25- run : |
26- mix local.rebar --force
27- mix local.hex --force
28- mix deps.get
29- - name : Run Hex Publish
30- run : mix hex.publish --yes
31- env :
32- HEX_API_KEY : ${{ secrets.HEX_API_KEY }}
8+ hex-publish :
9+ uses : straw-hat-team/github-actions-workflows/.github/workflows/elixir-hex-publish.yml@v1.0.0
10+ with :
11+ elixir-version : ' 1.11'
12+ otp-version : ' 22.3'
13+ secrets :
14+ HEX_API_KEY : ${{ secrets.HEX_API_KEY }}
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ This is particularly useful when your production application sits behind a
107107proxy that handles SSL connections. In this case, the ` redirect_uri ` sent by
108108` Ueberauth ` will start with ` http ` instead of ` https ` , and if you configured
109109your GitHub OAuth application's callback URL to use HTTPS, GitHub will throw an
110- ` uri_missmatch ` error.
110+ ` uri_mismatch ` error.
111111
112112To prevent ` Ueberauth ` from sending the ` redirect_uri ` , you should add the
113113following to your configuration:
Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ defmodule Ueberauth.Strategy.Github do
265265 set_errors! ( conn , [ error ( "OAuth2" , reason ) ] )
266266
267267 { :error , _ } ->
268- set_errors! ( conn , [ error ( "OAuth2" , "uknown error" ) ] )
268+ set_errors! ( conn , [ error ( "OAuth2" , "unknown error" ) ] )
269269 end
270270 end
271271
You can’t perform that action at this time.
0 commit comments