Skip to content

build(deps): bump actix-web from 4.3.1 to 4.6.0 #562

build(deps): bump actix-web from 4.3.1 to 4.6.0

build(deps): bump actix-web from 4.3.1 to 4.6.0 #562

Workflow file for this run

name: dev
on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]
jobs:
linux:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v2
- name: env-prepare
run: |
systemctl status docker
echo "------------------------------------------------"
sudo rm /etc/docker/daemon.json
sudo cp .github/docker/daemon.json /etc/docker/daemon.json
sudo mkdir -p /etc/systemd/system/docker.service.d
sudo cp .github/docker/override.conf /etc/systemd/system/docker.service.d/override.conf
sudo systemctl daemon-reload
echo "------------------------------------------------"
sudo systemctl restart docker.service
sleep 5
docker info
echo "------------------------------------------------"
mkdir -p $HOME/.chord
cp -r $PWD/zero/devops/chord/conf $HOME/.chord/
mkdir -p $HOME/.chord/lib
mkdir -p $HOME/.chord/output
find $HOME/.chord/
echo "------------------------------------------------"
sudo apt-get update
sudo apt-get install curl
rustup update
- name: task-build
run: |
cd .chord
npm install
npm run build
- name: service-boot
run: |
docker-compose -f docker-compose.yml up -d
sleep 30
curl -X GET "http://127.0.0.1:9200/_cat/indices?v"
- name: dubbo-build
run: |
cd action/src/action/dubbo/generic-gateway
mvn package
cp target/dubbo-generic-gateway-0.0.1-SNAPSHOT.jar $HOME/.chord/lib/dubbo-generic-gateway-0.0.1-SNAPSHOT.jar
cd ../../../../..
pwd
echo "------------------------------------------------"
cd zero/test/dubbo_provider
mvn package
java -jar target/dubbo-provider-0.0.1-SNAPSHOT.jar &
sleep 10
cd ../../..
pwd
echo "------------------------------------------------"
- name: chord-build-cache-simple
uses: actions/cache@v2
with:
key: build-target-linux-gnu-simple-${{ hashFiles('Cargo.lock') }}
path: |
./target
- name: chord-build-simple
run: |
chmod -R 777 $PWD
make -C .chord/src/cdylib/cdylib_example/bin
cargo --version
./build.sh
find $(pwd)
- name: chord-test
run: |
./target/release/chord run -i$PWD/.chord/dist
- name: chord-target-upload
uses: actions/upload-artifact@v2
with:
name: x86_64-unknown-linux-gnu
retention-days: 1
if-no-files-found: error
path: |
target/release/chord
target/release/chord-web
- name: extra-upload
uses: actions/upload-artifact@v2
with:
name: extra
retention-days: 1
if-no-files-found: error
path: |
action/src/action/dubbo/generic-gateway/target/dubbo-generic-gateway-0.0.1-SNAPSHOT.jar
windows:
runs-on: windows-2022
steps:
- name: checkout
uses: actions/checkout@v2
- name: env-prepare
run: |
rustup update
- name: chord-build-cache-simple
uses: actions/cache@v2
with:
key: build-target-windows-msvc-simple-${{ hashFiles('Cargo.lock') }}
path: |
./target
- name: chord-build-simple
run: |
chmod -R 777 $PWD
cargo --version
cargo build --all-features --verbose --release
- name: chord-target-upload
uses: actions/upload-artifact@v2
with:
name: x86_64-pc-windows-msvc
retention-days: 1
if-no-files-found: error
path: |
target/release/chord.exe
target/release/chord-web.exe
windows-gnu:
runs-on: windows-2022
steps:
- name: checkout
uses: actions/checkout@v2
- name: env-prepare
run: |
rustup update
rustup default stable-x86_64-pc-windows-gnu
- name: chord-build-cache-simple
uses: actions/cache@v2
with:
key: build-target-windows-gnu-simple-${{ hashFiles('Cargo.lock') }}
path: |
./target
- name: chord-build-simple
run: |
chmod -R 777 $PWD
cargo --version
cargo build --all-features --verbose --release
- name: chord-target-upload
uses: actions/upload-artifact@v2
with:
name: x86_64-pc-windows-gnu
retention-days: 1
if-no-files-found: error
path: |
target/release/chord.exe
target/release/chord-web.exe
macos:
runs-on: macos-11
steps:
- name: checkout
uses: actions/checkout@v2
- name: env-prepare
run: |
rustup update
- name: chord-build-cache-simple
uses: actions/cache@v2
with:
key: build-target-apple-darwin-simple-${{ hashFiles('Cargo.lock') }}
path: |
./target
- name: chord-build-simple
run: |
chmod -R 777 $PWD
cargo --version
./build.sh
- name: chord-target-upload
uses: actions/upload-artifact@v2
with:
name: x86_64-apple-darwin
retention-days: 1
if-no-files-found: error
path: |
target/release/chord
target/release/chord-web