Skip to content

Commit

Permalink
Bump action versions (#148)
Browse files Browse the repository at this point in the history
* Bump action versions

* Bump action versions
  • Loading branch information
sed-i authored Mar 1, 2024
1 parent 6f0e0b7 commit d113edc
Show file tree
Hide file tree
Showing 16 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_charm-codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_charm-linting.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
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Setup Python
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_charm-quality-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
if: needs.check-secret.outputs.defined == 'true'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Check charm libraries # Make sure our charm libraries are updated
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/_charm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
charms: ${{ steps.builder.outputs.charms }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Setup LXD
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
charms: ${{ steps.builder.outputs.charms }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Download Artifact
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
path: ${{ fromjson(needs.build.outputs.charms) }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Select charmhub channel
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
path: ${{ fromjson(needs.build-arm.outputs.charms) }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Select charmhub channel
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_charm-static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Python 3.8
Expand All @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Python 3.8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_charm-tests-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Get IP range
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_charm-tests-scenario.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
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up python
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_charm-tests-unit.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
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up python
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_rock-build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Determine any rockcraft.yaml changed in the PR
id: changed-files
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/charm-promote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set target channel
env:
PROMOTE_FROM: ${{ github.event.inputs.promotion }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/charm-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
any_modified: ${{ steps.echo-changes.outputs.any_modified }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }} # To be compatible with PRs from forks
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/charm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the source
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
path: charm
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/charm-update-libs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3 # v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -36,7 +36,7 @@ jobs:
CHARMCRAFT_AUTH: "${{ secrets.CHARMHUB_TOKEN }}"

- name: Create a PR for local changes
uses: peter-evans/create-pull-request@v4.2.3
uses: peter-evans/create-pull-request@v6
id: cpr
with:
token: ${{ secrets.OBSERVABILITY_NOCTUA_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rock-release-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Find the *latest* rockcraft.yaml
id: find-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rock-release-oci-factory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the ROCK source
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2
path: rock
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Clone the fork
id: fork-clone
if: steps.changed-files.outputs.all_changed_and_modified_files != ''
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: oci-factory
repository: observability-noctua-bot/oci-factory
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rock-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
echo "release=$TAG" >> $GITHUB_OUTPUT
- name: Checkout the ROCK source
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: main

Expand All @@ -75,7 +75,7 @@ jobs:
- name: Checkout application source for the Go version check
if: inputs.check-go && steps.check.outputs.release != ''
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{ inputs.source-repo }}
ref: ${{ steps.check.outputs.release }}
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
- name: Create a PR
if: steps.check.outputs.release != ''
uses: peter-evans/create-pull-request@v4.2.3
uses: peter-evans/create-pull-request@v6
with:
path: main
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit d113edc

Please sign in to comment.