From 2270f0d967673dc58fac4c6fb48f7200ffc66182 Mon Sep 17 00:00:00 2001 From: afonso Date: Sun, 1 Sep 2024 15:44:51 +0100 Subject: [PATCH] Improved build action --- .forgejo/workflows/build.yml | 4 ++++ .gitignore | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 .gitignore diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 63e3acc..c6c65b9 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -4,6 +4,8 @@ on: push: branches: - '*' + paths: + - dohproxy.go jobs: build: @@ -14,6 +16,8 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 + with: + go-version: '1.23' - name: Compile Go binary run: | diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..98a5c7a --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.session.vim +dohproxy