From 1c13868a1dfc49e491367377dd8a4adee2b8bf82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Negovanovi=C4=87?= Date: Mon, 22 Apr 2024 09:43:43 +0200 Subject: [PATCH] Upgrade the GH actions versions --- .github/workflows/lint.yml | 6 +++--- .github/workflows/main.yml | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c59e330..50be452 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,12 +15,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.21.x - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.1 with: fetch-depth: '0' @@ -28,7 +28,7 @@ jobs: run: git fetch origin main && git branch main remotes/origin/main - name: Lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v4 with: version: latest args: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 82accf3..2c213b9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,12 +13,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.21.x - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.1 with: submodules: recursive @@ -35,12 +35,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.21.x - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.1 with: submodules: recursive @@ -51,12 +51,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.21.x - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.1 with: submodules: recursive