From 0b42ede4aac79006a21c9ab63c34b7d442f2ef63 Mon Sep 17 00:00:00 2001 From: Victoria Martinez de la Cruz Date: Mon, 14 Oct 2024 11:48:06 +0200 Subject: [PATCH] Update base image for tests and updates workflows Update to Ubuntu 22.04 for all actions Also updates golangci-lint-action version --- .github/workflows/tests.yml | 10 +++++----- .github/workflows/updates.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9e6133e8..e0fab31c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,7 +18,7 @@ on: [push, pull_request] jobs: golangci: name: Linting - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/setup-go@v5 with: @@ -27,15 +27,15 @@ jobs: #- name: download libraries # run: go mod download - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v6.1.0 with: # Caching conflicts happen in GHA, so just disable for now skip-cache: true # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. - version: v1.51 + version: v1.59.1 unit-tests: name: Unit tests - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v4.1.3 @@ -72,7 +72,7 @@ jobs: path-to-profile: ${{ github.workspace }}/profile.cov image-build: name: Image build - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4.1.3 - uses: actions/setup-go@v5 diff --git a/.github/workflows/updates.yml b/.github/workflows/updates.yml index 7cad2c5a..406e227e 100644 --- a/.github/workflows/updates.yml +++ b/.github/workflows/updates.yml @@ -16,7 +16,7 @@ jobs: # (github.event.issue.author_association == 'CONTRIBUTOR') || # (github.event.issue.author_association == 'MEMBER') # ) - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: update PR with coveralls badge uses: actions/github-script@v7.0.1