-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update base image for tests and updates workflows
Update to Ubuntu 22.04 for all actions Also updates golangci-lint-action version
- Loading branch information
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|