Skip to content

Commit

Permalink
Update check golangci-lint GH action
Browse files Browse the repository at this point in the history
Update ubuntu-20.04 as deprecated;
Switch ubuntu-latest to the ubuntu-24.04;
Bump golangci version to the v1.64.5;

Signed-off-by: Nikolai Mishin <[email protected]>
  • Loading branch information
Nmishin committed Feb 18, 2025
1 parent 55e9301 commit 863d910
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
codecov:
name: 'CodeCov'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
codespell:
name: 'Check for spelling errors'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Checkout
Expand All @@ -24,4 +24,4 @@ jobs:
with:
skip: .git,*.png,*.woff,*.woff2,*.eot,*.ttf,*.jpg,*.ico,*.svg,*.gpg,.*asc,.goreleaser.yaml
check_filenames: true
check_hidden: true
check_hidden: true
4 changes: 2 additions & 2 deletions .github/workflows/check-golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
jobs:
golangci:
name: lint
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand All @@ -22,4 +22,4 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.61
version: v1.64.5
2 changes: 1 addition & 1 deletion .github/workflows/create-new-release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

jobs:
create-new-tag:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: write
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-choco.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
release:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: 'Checkout tofuutils/chocolatey-packages'
Expand Down Expand Up @@ -47,4 +47,4 @@ jobs:
git add -A
git commit -m "Chocolatey scripts update for tenv version ${release_tag}"
git tag -a ${release_version} -m "${release_version}"
git push origin --tags main
git push origin --tags main
4 changes: 2 additions & 2 deletions .github/workflows/publish-ppa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
release:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Download tenv tarballs
Expand All @@ -34,4 +34,4 @@ jobs:
gpg_passphrase: ${{ secrets.PPA_GPG_PASSPHRASE }}
tarball: /tmp/tenv*.tar.gz
deb_email: "[email protected]"
deb_fullname: "tenv"
deb_fullname: "tenv"
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
goreleaser:
name: "Build and release packages"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
id-token: write # For cosign
packages: write # For GHCR
Expand Down

0 comments on commit 863d910

Please sign in to comment.