Skip to content

Commit

Permalink
Update GitHub action versions and add dependabot (#4720)
Browse files Browse the repository at this point in the history
* goreleaser/goreleaser-action 3 -> 5
* actions/checkout 3 -> 4
* bump default tag for nightly-main

Signed-off-by: Rene Leonhardt
<65483435+reneleonhardt@users.noreply.github.com>
  • Loading branch information
reneleonhardt authored Oct 29, 2023
1 parent dfe1721 commit a923096
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/actions/nightly-release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ runs:
go-version: "${{ inputs.go }}"

- name: goreleaser
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v5
with:
workdir: "${{ inputs.workdir }}"
version: latest
Expand Down
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
2 changes: 1 addition & 1 deletion .github/workflows/MQTT_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: src/github.com/nats-io/nats-server

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: src/github.com/nats-io/nats-server

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: src/github.com/nats-io/nats-server

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: src/github.com/nats-io/nats-server
ref: ${{ inputs.target || 'main' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rc_nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: src/github.com/nats-io/nats-server
ref: ${{ inputs.target || 'v2.9.22' }}
ref: ${{ inputs.target || 'v2.10.4' }}

- uses: ./src/github.com/nats-io/nats-server/.github/actions/nightly-release
with:
Expand Down

0 comments on commit a923096

Please sign in to comment.