From 95cc961ea65f6cfa271716bb60ae29e6c6ba6efd Mon Sep 17 00:00:00 2001 From: Jerry Jacobs Date: Fri, 26 Jul 2024 07:21:58 +0200 Subject: [PATCH] Initial try building with github action --- .github/workflows/build.yml | 38 +++++++++++++++++++++++++++++++++++++ README.md | 3 +++ 2 files changed, 41 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..fb25509 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,38 @@ +name: GitHub Actions Demo +run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 + +on: + pull_request: + push: + schedule: + # Run daily build at 08:30 UTC + - cron: '00 08 30 * *' + workflow_dispatch: + +env: + # The go version to use for builds. We set check-latest to true when + # installing, so we get the latest patch version that matches the + # expression. + GO_VERSION: "~1.22.3" + +jobs: + Explore-GitHub-Actions: + runs-on: ubuntu-latest + steps: + - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" + - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: ${{ env.GO_VERSION }} + cache: true + check-latest: true + - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ github.workspace }} + - run: echo "🍏 This job's status is ${{ job.status }}." + - run: make build diff --git a/README.md b/README.md index 49682aa..7f8b0f8 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,11 @@ E.g: ## Detection +See + * Microsoft Defender: Trojan:Win32/Gracing.I - Severe + ## Related blog posts * https://blog.projectdiscovery.io/proxify-portable-cli-based-proxy/