From 6dc76cdfea5c593015f4428e9a757c37f4a34d58 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Tue, 10 Dec 2024 00:56:52 +0300 Subject: [PATCH] workflow improve Signed-off-by: Vasiliy Tolstov --- .gitea/workflows/job_lint.yml | 8 +++++--- .gitea/workflows/job_test.yml | 6 ++++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/job_lint.yml b/.gitea/workflows/job_lint.yml index a47bf298..acfc4ed7 100644 --- a/.gitea/workflows/job_lint.yml +++ b/.gitea/workflows/job_lint.yml @@ -12,12 +12,14 @@ jobs: lint: runs-on: ubuntu-latest steps: + - name: checkout + uses: actions/checkout@v4 + with: + filter: 'blob:none' - name: setup-go uses: actions/setup-go@v5 with: - go-version: 'stable' - - name: checkout - uses: actions/checkout@v3 + go-version: 'stable' - name: deps run: go get -v -d ./... - name: lint diff --git a/.gitea/workflows/job_test.yml b/.gitea/workflows/job_test.yml index 15716f1d..0840a4fe 100644 --- a/.gitea/workflows/job_test.yml +++ b/.gitea/workflows/job_test.yml @@ -17,12 +17,14 @@ jobs: test: runs-on: ubuntu-latest steps: + - name: checkout + uses: actions/checkout@v4 + with: + filter: 'blob:none' - name: setup-go uses: actions/setup-go@v5 with: go-version: 'stable' - - name: checkout - uses: actions/checkout@v3 - name: deps run: go get -v -d ./... - name: test