Skip to content

Commit 83ba4b4

Browse files
kianmengyordis
andauthored
Fix typos (#72)
* Fix typos Found via `typos --format brief` * fix ci Co-authored-by: Yordis Prieto Lazo <yordis.prieto@gmail.com>
1 parent 93ca6c2 commit 83ba4b4

4 files changed

Lines changed: 23 additions & 76 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,18 @@
1-
name: Continuous Integration
1+
name: ci
22

33
on:
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

.github/workflows/release.yml

Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,14 @@
1-
name: Hexpm Release
1+
name: cd
22

33
on:
44
release:
55
types: [published]
66

77
jobs:
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 }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ This is particularly useful when your production application sits behind a
107107
proxy 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
109109
your GitHub OAuth application's callback URL to use HTTPS, GitHub will throw an
110-
`uri_missmatch` error.
110+
`uri_mismatch` error.
111111

112112
To prevent `Ueberauth` from sending the `redirect_uri`, you should add the
113113
following to your configuration:

lib/ueberauth/strategy/github.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)