Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Blaschke <[email protected]>
  • Loading branch information
mblaschke committed Feb 17, 2024
1 parent ee20ed0 commit fab6680
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
/vendor/
/fenecon-exporter
/release-assets
15 changes: 14 additions & 1 deletion .github/workflows/build-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,14 @@ jobs:
with:
swap-size-gb: 12

- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache-dependency-path: "go.sum"
check-latest: true

- name: Run Golangci lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v4
with:
version: latest
args: --print-resources-usage
Expand All @@ -35,6 +41,7 @@ jobs:
target: "final-static"
suffix: ""
latest: "auto"

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -44,6 +51,12 @@ jobs:
with:
swap-size-gb: 12

- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache-dependency-path: "go.sum"
check-latest: true

- name: Docker meta
id: docker_meta
uses: docker/metadata-action@v5
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release-assets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ jobs:
with:
swap-size-gb: 12

- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version-file: 'go.mod'
cache-dependency-path: "go.sum"
check-latest: true

- name: Build
Expand Down

0 comments on commit fab6680

Please sign in to comment.