From 1b26385c58db7a26dd66b6631b1af7898fde54c5 Mon Sep 17 00:00:00 2001 From: Kobi Samoray Date: Mon, 16 Sep 2024 16:19:01 +0300 Subject: [PATCH] Update GitHub actions to latest versions Due to deprecation of these which are used. Signed-off-by: Kobi Samoray --- .github/workflows/golangci-lint.yml | 6 +++--- .github/workflows/golangci-ut.yml | 4 ++-- .github/workflows/release.yml | 6 +++--- .github/workflows/website-lint.yml | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 08417ef46..22b7ca4e5 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -5,10 +5,10 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: - go-version: 1.18 - - uses: actions/checkout@v3 + go-version-file: 'go.mod' - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: diff --git a/.github/workflows/golangci-ut.yml b/.github/workflows/golangci-ut.yml index e5e4489dc..89c61c47c 100644 --- a/.github/workflows/golangci-ut.yml +++ b/.github/workflows/golangci-ut.yml @@ -5,10 +5,10 @@ jobs: test: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.19 - - uses: actions/checkout@v4 + go-version-file: 'go.mod' - name: Install dependencies run: | go get . diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d3839523a..8cbc9b98f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,14 +14,14 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: - go-version: 1.19 + go-version-file: 'go.mod' - name: golangci-lint uses: golangci/golangci-lint-action@v3 diff --git a/.github/workflows/website-lint.yml b/.github/workflows/website-lint.yml index 291335ef3..1b7f17822 100644 --- a/.github/workflows/website-lint.yml +++ b/.github/workflows/website-lint.yml @@ -5,11 +5,11 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: - go-version: 1.19 + go-version-file: 'go.mod' - name: Install tools run: make tools - name: Website Lint