Skip to content

Commit

Permalink
build: fix GitHub workflow artifact upload
Browse files Browse the repository at this point in the history
Signed-off-by: Gabor Boros <[email protected]>

build: pin go1.22.4

Signed-off-by: Gabor Boros <[email protected]>

chore(changelog): update changelog

Signed-off-by: Gabor Boros <[email protected]>

build: set go1.22.4 for security purposes

Signed-off-by: Gabor Boros <[email protected]>

chore(changelog): update changelog

Signed-off-by: Gabor Boros <[email protected]>
  • Loading branch information
gabor-boros committed Jun 14, 2024
1 parent fd709d0 commit 593d850
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ jobs:
strategy:
matrix:
go:
- "^1.22"
- "^1.22.4"
os:
- ubuntu-latest
- windows-latest
- macos-latest
runs-on: "${{ matrix.os }}"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: "${{ matrix.go }}"
- name: Prerequisites
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Stash test results
uses: actions/upload-artifact@master
with:
name: "Test results"
name: "${{ matrix.os }}-${{ matrix.go }}"
path: .coverage.out
retention-days: 7
- name: Build
Expand All @@ -46,15 +46,15 @@ jobs:
needs:
- test
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Unstash test results
uses: actions/download-artifact@master
with:
name: "Test results"
name: ubuntu-latest-1.22.4
- name: Upload test results
uses: paambaati/codeclimate-action@v3.0.0
uses: paambaati/codeclimate-action@v6
env:
CC_TEST_REPORTER_ID: 20a724e6a2bf80ab3a3cb88c02df2e95bf918da42e63bc5eaa6f0c9dfbe7e77d
CC_TEST_REPORTER_ID: c9d94a2c1e909f32ec045ed9653456f64c0666bfde95012e9b913dbe4b988020
with:
prefix: github.com/${{github.repository}}
coverageLocations: ${{github.workspace}}/.coverage.out:gocov
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ All notable changes to this project will be documented in this file.
- Adjust goreleaser configuration ([86e7efe](https://github.com/gabor-boros/minutes/commit/86e7efe2d84a9a0bd6e93314fb94abdcf7cf7583))
- Resolve linter errors ([c5d8865](https://github.com/gabor-boros/minutes/commit/c5d8865706a4ac628ba3eea0baa64acef68c0a09))

**Build**

- Fix GitHub workflow artifact upload ([aaed82a](https://github.com/gabor-boros/minutes/commit/aaed82a622ff537f0e0b074af882690190cdef72))
- Set go1.22.4 for security purposes ([6cded1c](https://github.com/gabor-boros/minutes/commit/6cded1cacefcc01c56736823f200e03519a5affe))

## [0.3.3] - 2023-02-27

**Miscellaneous Tasks**
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/gabor-boros/minutes

go 1.22
go 1.22.4

require (
github.com/jedib0t/go-pretty/v6 v6.5.9
Expand Down

0 comments on commit 593d850

Please sign in to comment.