Skip to content

Commit

Permalink
feat: bump actions to latest node 20 versions (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorwhitney authored Jan 25, 2024
1 parent 2fa7aa5 commit 3f75548
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "pull code to release"
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"
with:
path: "release"
repository: "${{ inputs.release_repo }}"
- name: "pull release library code"
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"
with:
path: "lib"
repository: "grafana/loki-release"
- name: "setup go"
uses: "actions/setup-go@v4"
uses: "actions/setup-go@v5"
with:
cache-dependency-path: "release/go.sum"
go-version-file: "release/go.mod"
Expand Down Expand Up @@ -120,12 +120,12 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "pull code to release"
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"
with:
path: "release"
repository: "${{ inputs.release_repo }}"
- name: "pull release library code"
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"
with:
path: "lib"
repository: "grafana/loki-release"
Expand Down Expand Up @@ -164,12 +164,12 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "pull code to release"
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"
with:
path: "release"
repository: "${{ inputs.release_repo }}"
- name: "setup go"
uses: "actions/setup-go@v4"
uses: "actions/setup-go@v5"
with:
cache-dependency-path: "release/go.sum"
go-version-file: "release/go.mod"
Expand Down Expand Up @@ -206,17 +206,17 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "pull code to release"
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"
with:
path: "release"
repository: "${{ inputs.release_repo }}"
- name: "pull release library code"
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"
with:
path: "lib"
repository: "grafana/loki-release"
- name: "setup go"
uses: "actions/setup-go@v4"
uses: "actions/setup-go@v5"
with:
cache-dependency-path: "release/go.sum"
go-version-file: "release/go.mod"
Expand Down Expand Up @@ -301,12 +301,12 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "pull code to release"
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"
with:
path: "release"
repository: "${{ inputs.release_repo }}"
- name: "setup go"
uses: "actions/setup-go@v4"
uses: "actions/setup-go@v5"
with:
cache-dependency-path: "release/go.sum"
go-version-file: "release/go.mod"
Expand Down Expand Up @@ -356,12 +356,12 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "pull code to release"
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"
with:
path: "release"
repository: "${{ inputs.release_repo }}"
- name: "setup go"
uses: "actions/setup-go@v4"
uses: "actions/setup-go@v5"
with:
cache-dependency-path: "release/go.sum"
go-version-file: "release/go.mod"
Expand Down Expand Up @@ -407,17 +407,17 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "pull code to release"
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"
with:
path: "release"
repository: "${{ inputs.release_repo }}"
- name: "pull release library code"
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"
with:
path: "lib"
repository: "grafana/loki-release"
- name: "setup go"
uses: "actions/setup-go@v4"
uses: "actions/setup-go@v5"
with:
cache-dependency-path: "release/go.sum"
go-version-file: "release/go.mod"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "pull code to release"
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"
with:
path: "release"
repository: "${{ inputs.release_repo }}"
- name: "pull release library code"
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"
with:
path: "lib"
repository: "grafana/loki-release"
Expand Down
6 changes: 3 additions & 3 deletions workflows/lib/common.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@
$.step.withWorkingDirectory('lib'),

fetchReleaseRepo:
$.step.new('pull code to release', 'actions/checkout@v3')
$.step.new('pull code to release', 'actions/checkout@v4')
+ $.step.with({
repository: '${{ inputs.release_repo }}',
path: 'release',
}),
fetchReleaseLib:
$.step.new('pull release library code', 'actions/checkout@v3')
$.step.new('pull release library code', 'actions/checkout@v4')
+ $.step.with({
repository: 'grafana/loki-release',
path: 'lib',
}),
setupGo: $.step.new('setup go', 'actions/setup-go@v4')
setupGo: $.step.new('setup go', 'actions/setup-go@v5')
+ $.step.with({
'go-version-file': 'release/go.mod',
'cache-dependency-path': 'release/go.sum',
Expand Down

0 comments on commit 3f75548

Please sign in to comment.