Skip to content

GlueTrans PR Check Latest #158

GlueTrans PR Check Latest

GlueTrans PR Check Latest #158

name: GlueTrans PR Check Latest
on:
push:
branches:
- main
pull_request:
branches:
- main
types:
- opened
- reopened
- edited
- synchronize
schedule:
- cron: "0 6 * * *"
workflow_dispatch:
jobs:
lint-docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: hadolint/[email protected]
with:
dockerfile: Dockerfile
lint-sh:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ludeeus/[email protected]
pr-check:
runs-on: ubuntu-latest
env:
GLUETRANS_VPN_USERNAME: ${{ secrets.GLUETRANS_VPN_USERNAME }}
GLUETRANS_VPN_PASSWORD: ${{ secrets.GLUETRANS_VPN_PASSWORD }}
GLUETRANS_VPN_REGIONS: ${{ secrets.GLUETRANS_VPN_REGIONS }}
GLUETRANS_TRANSMISSION_USERNAME: ${{ secrets.GLUETRANS_TRANSMISSION_USERNAME }}
GLUETRANS_TRANSMISSION_PASSWORD: ${{ secrets.GLUETRANS_TRANSMISSION_PASSWORD }}
GLUETRANS_SONAR_ORGANIZATION: ${{ secrets.GLUETRANS_SONAR_ORGANIZATION }}
GLUETRANS_SONAR_PROJECT_KEY: ${{ secrets.GLUETRANS_SONAR_PROJECT_KEY }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Build env and run tests
run: make GLUETUN_VERSION=latest pr-test