-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
33 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,17 @@ concurrency: | |
cancel-in-progress: true | ||
|
||
jobs: | ||
markdownlint-cli: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v4 | ||
- name: Run markdownlint-cli | ||
uses: nosborn/[email protected] | ||
with: | ||
files: . | ||
config_file: ".markdownlint.yaml" | ||
|
||
build: | ||
name: Build | ||
runs-on: ubuntu-22.04 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,4 @@ | |
default: true | ||
line-length: false | ||
|
||
# MD033/no-inline-html Inline HTML | ||
MD033: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ erldns is an open source project licensed under an MIT license. Contributions ar | |
|
||
## Getting started | ||
|
||
#### 1. Clone the repository | ||
### 1. Clone the repository | ||
|
||
Clone the repository and move into it: | ||
|
||
|
@@ -13,23 +13,23 @@ git clone [email protected]:dnsimple/erldns.git | |
cd erldns | ||
``` | ||
|
||
#### 2. Install Erlang | ||
### 2. Install Erlang | ||
|
||
#### 3. Create your own working branch | ||
### 3. Create your own working branch | ||
|
||
```shell | ||
git checkout -b dev_new_feature_xyz | ||
``` | ||
|
||
#### 4. Build and test | ||
### 4. Build and test | ||
|
||
Compile the project and [run the test suite](#testing) to check everything works as expected. | ||
|
||
```shell | ||
make all | ||
``` | ||
|
||
#### 5. Adding local (checkout) dependencies for rebar3 | ||
### 5. Adding local (checkout) dependencies for rebar3 | ||
|
||
Please follow the instructions available at | ||
<https://www.rebar3.org/docs/configuration/dependencies/> | ||
|
@@ -54,15 +54,15 @@ erldns includes several test mechanisms. | |
|
||
To execute unit tests (and dialyzer for static analysis): | ||
|
||
``` | ||
```shell | ||
make test | ||
``` | ||
|
||
### Functional Testing | ||
|
||
The [dnstest](https://github.com/dnsimple/dnstest) tool provides a suite of black-box functional tests for erldns (and any other DNS authoritative name server). The tests are largely based on the excellent [suite of tests](https://github.com/PowerDNS/pdns/tree/master/regression-tests/tests) in [PowerDNS](http://powerdns.com). To run the tests, you must change `erldns.config` so that zones are loaded from `priv/zones-test.json`. | ||
|
||
``` | ||
```erlang | ||
[ | ||
{erldns, [ | ||
{zones, "priv/zones-test.json"} | ||
|
@@ -76,7 +76,7 @@ Then you will need to run erldns. At this point it should be ready to test with | |
|
||
If your editor doesn't automatically format Erlang code using [erlfmt](https://github.com/WhatsApp/erlfmt), run: | ||
|
||
```bash | ||
```shell | ||
make format | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters