Do some basic chores

This commit is contained in:
Jan Graefen 2022-12-14 14:33:16 +01:00
parent 4962f36150
commit 30bb17cc29
6 changed files with 181 additions and 193 deletions

View file

@ -1,11 +1,14 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "gomod" # See documentation for possible values
directory: "/" # Location of package manifests
- package-ecosystem: "github-actions"
directory: "/.github/workflows/"
schedule:
interval: "daily"
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "daily"

View file

@ -31,13 +31,13 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ^1.18
go-version: ^1.19
- name: Checkout code
uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.45
version: v1.48
build:
runs-on: ubuntu-latest
@ -45,7 +45,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ^1.18
go-version: ^1.19
- name: Checkout code
uses: actions/checkout@v3
- name: Get dependencies

View file

@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.16
go-version: 1.19
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:

View file

@ -1,15 +0,0 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"

2
go.mod
View file

@ -1,6 +1,6 @@
module github.com/jangraefen/hcloud-pricing-exporter
go 1.18
go 1.19
require (
github.com/hetznercloud/hcloud-go v1.35.2