Skip to content

Commit

Permalink
Update base image for tests and updates workflows
Browse files Browse the repository at this point in the history
Update to Ubuntu 22.04 for all actions

Also updates golangci-lint-action version
  • Loading branch information
vkmc committed Oct 14, 2024
1 parent 029fa1b commit 0b42ede
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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/[email protected]
Expand Down Expand Up @@ -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/[email protected]
- uses: actions/setup-go@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down

0 comments on commit 0b42ede

Please sign in to comment.