Skip to content

Commit

Permalink
chore: update go version and lint (#128)
Browse files Browse the repository at this point in the history
* deps(dependabot): bump amannn/action-semantic-pull-request

Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5.4.0 to 5.5.3.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](amannn/action-semantic-pull-request@e9fabac...0723387)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* update go version and lint version

* update golangci-lint version

* update version

* set env variable

* set env variable

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
grischperl and dependabot[bot] authored Jul 11, 2024
1 parent c3c79c2 commit 26902d2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-conventional-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: Check Title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@e9fabac35e210fea40ca5b14c0da95a099eff26f
- uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/lint-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
- '**.md'
- 'sec-scanners-config.yaml'

env:
GO111MODULE: "on"

jobs:
code-linter:
name: "Run golangci-lint"
Expand All @@ -27,4 +30,4 @@ jobs:
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.57
version: v1.57
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM europe-docker.pkg.dev/kyma-project/prod/external/golang:1.22.2-alpine3.19 as builder
FROM europe-docker.pkg.dev/kyma-project/prod/external/golang:1.22.5-alpine3.20 as builder

ARG DOCK_PKG_DIR=/go/src/github.com/kyma-project/eventing-publisher-proxy

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kyma-project/eventing-publisher-proxy

go 1.22.2
go 1.22.5

require (
github.com/cloudevents/sdk-go/v2 v2.15.2
Expand Down

0 comments on commit 26902d2

Please sign in to comment.