-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from vapor/update-with-vapor-bugfix
BUG FIX: Multipart/form-data crashed if data was missing
- Loading branch information
Showing
7 changed files
with
91 additions
and
31 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: deploy-api-docs | ||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
deploy: | ||
name: api.vapor.codes | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Deploy api-docs | ||
uses: appleboy/ssh-action@master | ||
with: | ||
host: vapor.codes | ||
username: vapor | ||
key: ${{ secrets.VAPOR_CODES_SSH_KEY }} | ||
script: ./github-actions/deploy-api-docs.sh | ||
command_timeout: 60m |
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 |
---|---|---|
@@ -1,18 +1,33 @@ | ||
name: test | ||
on: | ||
- pull_request | ||
on: { pull_request: {} } | ||
|
||
jobs: | ||
xenial: | ||
container: | ||
image: vapor/swift:5.1-xenial | ||
getcidata: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
environments: ${{ steps.output.outputs.environments }} | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- run: swift test --enable-test-discovery --sanitize=thread | ||
bionic: | ||
container: | ||
image: vapor/swift:5.1-bionic | ||
runs-on: ubuntu-latest | ||
- id: output | ||
run: | | ||
envblob="$(curl -fsSL https://raw.githubusercontent.com/vapor/ci/main/pr-environments.json | jq -cMj '.')" | ||
echo "::set-output name=environments::${envblob}" | ||
test-vapor: | ||
needs: getcidata | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
env: ${{ fromJSON(needs.getcidata.outputs.environments) }} | ||
runs-on: ${{ matrix.env.os }} | ||
container: ${{ matrix.env.image }} | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- run: swift test --enable-test-discovery --sanitize=thread | ||
- name: Select toolchain | ||
uses: maxim-lobanov/[email protected] | ||
with: | ||
xcode-version: ${{ matrix.env.toolchain }} | ||
if: ${{ matrix.env.toolchain != '' }} | ||
- name: Check out Vapor | ||
uses: actions/checkout@v2 | ||
- name: Run tests with Thread Sanitizer | ||
timeout-minutes: 20 | ||
run: swift test --enable-test-discovery --sanitize=thread |
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
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
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