Skip to content

Commit

Permalink
Update Go version and workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
plorenz committed Sep 6, 2024
1 parent 3baddd7 commit 9a3506d
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 10 deletions.
20 changes: 20 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,23 @@ updates:
schedule:
interval: daily
open-pull-requests-limit: 10
groups:
non-major:
applies-to: version-updates
update-types:
- "minor"
- "patch"

- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 10
groups:
all:
applies-to: version-updates
update-types:
- "major"
- "minor"
- "patch"

Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,18 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version: 1.19
- uses: actions/checkout@v3
go-version-file: ./go.mod


- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v6
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.49
version: v1.57.2

# Optional: working directory, useful for monorepos
# working-directory: somedir
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '1.19.x'
go-version-file: ./go.mod

- name: install libsodium (for compat tests)
run: sudo apt install libsodium-dev
Expand All @@ -36,7 +36,7 @@ jobs:
gh_ci_key: ${{ secrets.GH_CI_KEY }}
ziti_ci_gpg_key: ${{ secrets.ZITI_CI_GPG_KEY }}
ziti_ci_gpg_key_id: ${{ secrets.ZITI_CI_GPG_KEY_ID }}
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release-')
if: github.ref_name == 'main' || startsWith(github.ref_name, 'release-')
run: |
$(go env GOPATH)/bin/ziti-ci configure-git
$(go env GOPATH)/bin/ziti-ci tag -v -f version
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/openziti/secretstream

go 1.19
go 1.22

require golang.org/x/crypto v0.24.0

Expand Down

0 comments on commit 9a3506d

Please sign in to comment.