chore: add 499 error for client closed connections #179
Workflow file for this run
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
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run Linter π§ | |
shell: bash | |
run: make lint | |
- name: Configure git π§ | |
run: | | |
git config --global url."https://${{ secrets.KIVRABOT }}@github.com/kivra/".insteadOf "git@github.com:kivra/" | |
git config --global url."https://${{ secrets.KIVRABOT }}@github.com/kivra".insteadOf "https://github.com/kivra" | |
- name: Run Erlang Tests ππΎ | |
shell: bash | |
run: make test-erl | |
- name: Run Go Tests ππ½ββοΈ | |
shell: bash | |
run: make test-go | |
- name: Run python Tests ππΎ | |
shell: bash | |
run: make test-python | |
release: | |
if: github.ref == 'refs/heads/main' && startsWith(github.event.head_commit.message, 'no-release:') == false | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Bump version and push tag | |
id: tag_version | |
uses: kivra/github-tag-action@v6.1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create a GitHub release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ steps.tag_version.outputs.new_tag }} | |
release_name: Release ${{ steps.tag_version.outputs.new_tag }} | |
body: ${{ steps.tag_version.outputs.changelog }} |