From 6f223f0d9788f3fa8757b0d3a50077bd059a9ef3 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Sun, 11 Jun 2023 23:03:05 +0800 Subject: [PATCH] Add workflow PeterDaveHello/tor-socks-proxy --- .github/workflows/tor-socks-proxy.yml | 45 +++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/tor-socks-proxy.yml diff --git a/.github/workflows/tor-socks-proxy.yml b/.github/workflows/tor-socks-proxy.yml new file mode 100644 index 0000000..833e306 --- /dev/null +++ b/.github/workflows/tor-socks-proxy.yml @@ -0,0 +1,45 @@ +name: PeterDaveHello/tor-socks-proxy +on: + push: + branches: + - "**/*" + pull_request: +concurrency: +# # This item has no matching transformer +# maximum_number_of_builds: 0 + group: "${{ github.ref }}" + cancel-in-progress: true +jobs: + test: + runs-on: ubuntu-20.04 + env: + task: shellcheck + steps: + - name: checkout + uses: actions/checkout@v3.5.0 + with: + fetch-depth: 5 + - name: Set up cache + uses: actions/cache@v3.3.1 + with: + path: ".npx" + key: "${{ runner.os }}-path" + - uses: actions/setup-node@v3.6.0 + with: + cache: npm + node-version: '18' + - run: npm install + - run: npx --cache .npx dockerfile_lint + test_2: + runs-on: ubuntu-20.04 + env: + task: Docker build + steps: + - name: checkout + uses: actions/checkout@v3.5.0 + with: + fetch-depth: 5 + - run: docker build -t tor-socks-proxy:${{ github.sha }} . + services: +# # This item has no matching transformer +# docker: