Migrate encoder and decoder to use dns_erlang helpers (#325) #713
This file contains hidden or 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
| --- | |
| name: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| markdown-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v6 | |
| - name: Run markdownlint-cli | |
| uses: nosborn/[email protected] | |
| with: | |
| files: . | |
| config_file: ".markdownlint.yaml" | |
| yaml-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v6 | |
| - name: Run YAML Lint | |
| uses: actionshub/[email protected] | |
| test: | |
| name: OTP:${{matrix.otp}}-OS:${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: ['ubuntu-24.04'] | |
| otp: ['28', '27'] | |
| rebar3: ['3.25'] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: erlef/setup-beam@v1 | |
| with: | |
| otp-version: ${{matrix.otp}} | |
| rebar3-version: ${{matrix.rebar3}} | |
| - uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.cache/rebar3 | |
| _build | |
| key: v2-${{ runner.os }}-erlang-${{ matrix.otp }}-rebar3-${{ matrix.rebar3 }}-hash-${{hashFiles('rebar.lock')}}-${{hashFiles('rebar.config')}} | |
| - run: make build | |
| - run: make test | |
| - name: Coveralls | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| file: _build/test/covertool/erldns.covertool.xml | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| parallel: true | |
| finish: | |
| needs: test | |
| if: ${{ always() }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Close parallel build | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| parallel-finished: true |