chore(deps): update dependency eslint to v9 #207
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: Test | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- README.md | |
pull_request: | |
jobs: | |
show-context: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Show github context object | |
run: echo $JSON | |
env: | |
JSON: ${{ toJSON(github) }} | |
test: | |
runs-on: ubuntu-latest | |
name: Typical Usage of OpenVPN | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install OpenVPN | |
run: | | |
sudo apt update | |
sudo apt install -y openvpn openvpn-systemd-resolved | |
- name: Connect to VPN | |
uses: "./" | |
with: | |
config_file: .github/workflows/client.ovpn | |
username: ${{ secrets.OVPN_USERNAME }} | |
password: ${{ secrets.OVPN_PASSWORD }} | |
client_key: ${{ secrets.OVPN_CLIENT_KEY }} | |
tls_auth_key: ${{ secrets.OVPN_TLS_AUTH_KEY }} | |
- name: Check if connected | |
run: curl -v ${{ secrets.TARGET_URL }} |