chore: Remove settings.yml in favour of hs-github-tools. #60
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
--- | |
name: ci | |
on: | |
pull_request: | |
branches: [master] | |
# Cancel old PR builds when pushing new commits. | |
concurrency: | |
group: build-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
wireguard-vpn: | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
sudo apt install wireguard | |
echo "UGdw/CjBpnKF/xJ3/orlUty29kYi1NMnXdXVYExFFH8=" > privatekey | |
sudo ip link add dev wg0 type wireguard | |
sudo ip address add dev wg0 10.100.0.2 peer 10.100.0.1 | |
sudo wg set wg0 listen-port 48123 private-key privatekey peer Tb1SOeotVZa6FbEmRq1x4Wo62PxjrjLeHbRYp4kTH2A= allowed-ips 10.100.0.0/24 endpoint code.tox.chat:51820 | |
sudo ip link set up dev wg0 | |
#ping 10.100.0.1 | |
sudo ifconfig wg0 | |
sudo wg show |