-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update go deps, use postgres-16, change unmaintained actions plugin (#…
…127)
- Loading branch information
Showing
7 changed files
with
190 additions
and
129 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 |
---|---|---|
|
@@ -25,10 +25,11 @@ jobs: | |
uses: actions/setup-go@v4 | ||
with: | ||
go-version: "1.21" | ||
cache: false | ||
id: go | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Lint | ||
uses: golangci/golangci-lint-action@v3 | ||
|
@@ -38,11 +39,13 @@ jobs: | |
- name: break if proto modifications where not committed | ||
run: | | ||
make proto | ||
- name: Check if there are changes | ||
uses: UnicornGlobal/[email protected] | ||
uses: tj-actions/verify-changed-files@v16 | ||
id: verify-changed-files | ||
|
||
- name: Process changes | ||
if: steps.changes.outputs.changed == 1 | ||
if: steps.verify-changed-files.outputs.files_changed == 'true' | ||
run: echo "Changes exist" | ||
|
||
- name: build and test | ||
|
@@ -59,10 +62,10 @@ jobs: | |
steps: | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Log in to the Container registry | ||
uses: docker/login-action@v2 | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
|
@@ -75,7 +78,7 @@ jobs: | |
[ "${GITHUB_EVENT_NAME}" == 'push' ] && echo "tag=latest" >> $GITHUB_ENV || true | ||
- name: Build and push image | ||
uses: docker/build-push-action@v3 | ||
uses: docker/build-push-action@v5 | ||
with: | ||
context: . | ||
push: true | ||
|
@@ -90,10 +93,11 @@ jobs: | |
uses: actions/setup-go@v4 | ||
with: | ||
go-version: "1.21" | ||
cache: false | ||
id: go | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: run benchmark | ||
run: | | ||
|
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
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
Oops, something went wrong.