Skip to content

Bump github.com/swift-server/async-http-client from 1.11.5 to 1.12.1 #1241

Bump github.com/swift-server/async-http-client from 1.11.5 to 1.12.1

Bump github.com/swift-server/async-http-client from 1.11.5 to 1.12.1 #1241

Workflow file for this run

name: Build and test
on:
push:
branches: [main]
pull_request:
branches: "*"
jobs:
swift-test:
strategy:
matrix:
include:
- os: macos-12
swift_version: 5.7
xcode: /Applications/Xcode_14.0.app/Contents/Developer
- os: macos-13
swift_version: 5.8
xcode: /Applications/Xcode_14.3.app/Contents/Developer
- os: ubuntu-20.04
swift_version: 5.7
- os: ubuntu-20.04
swift_version: 5.8
name: Build on ${{ matrix.os }} with Swift ${{ matrix.swift_version }}
timeout-minutes: 40
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Select Xcode version
if: startsWith(matrix.os, 'macos')
run: sudo xcode-select --switch ${{ matrix.xcode }}
- name: Cleanup pre-installed SwiftLint
run: rm -f '/usr/local/bin/swiftlint'
- name: Install dependencies for macOS
run: brew bundle
if: startsWith(matrix.os, 'macos')
- name: Install dependencies for Ubuntu
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo ./install_ubuntu_deps.sh
curl https://get.wasmer.io -sSfL | sh
- name: Build the project
run: |
swift -v
swift build -Xswiftc -Xfrontend -Xswiftc -validate-tbd-against-ir=none
- name: Build and install JavaScript and sanitizer resources
run: |
set -ex
npm install
swift run carton-release hash-archive
mkdir -p $HOME/.carton
cp -r static $HOME/.carton
- name: Run Tests
run: |
set -ex
if [ -e /home/runner/.wasmer/wasmer.sh ]; then
source /home/runner/.wasmer/wasmer.sh
fi
swift test -Xswiftc -Xfrontend -Xswiftc -validate-tbd-against-ir=none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
docker_image:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Build a Docker image on Ubuntu 20.04
run: docker build . -t ghcr.io/swiftwasm/swiftwasm-action:latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}