Skip to content

Commit

Permalink
Merge pull request #32 from tfso/chore/updating-actions
Browse files Browse the repository at this point in the history
chore/Updating action major versions
  • Loading branch information
lostfields authored Nov 5, 2024
2 parents 951b215 + 4abab4b commit 41329cd
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
deploy: ${{ steps.version.outputs.deploy }}
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -45,7 +45,7 @@ jobs:
name: push tag
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: push tag
uses: tfso/action-helpers/tag@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: 'action-helper'

- name: Checkout Github
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: ./setup
name: deploy
Expand Down
2 changes: 1 addition & 1 deletion build-and-push-ecr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Build and Push to ECR
id: ecr
Expand Down
2 changes: 1 addition & 1 deletion build-and-push-ecr/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ runs:
uses: docker/setup-buildx-action@v2

- name: Cache Docker layers
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
Expand Down
4 changes: 2 additions & 2 deletions dotnet-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ runs:
using: 'composite'
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ inputs.GITHUB_TOKEN }}
fetch-depth: '0' # important for versioning

- name: setup
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ inputs.DOTNET_VERSION }}
dotnet-quality: ga
Expand Down
2 changes: 1 addition & 1 deletion get-version/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ outputs:
runs:
using: 'composite'
steps:
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16

Expand Down
4 changes: 2 additions & 2 deletions npm-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ runs:
using: 'composite'
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ inputs.GITHUB_TOKEN }}
fetch-depth: '0' # important for versioning
persist-credentials: false # important for legacy github packages
submodules: ${{ inputs.INCLUDE_SUBMODULES }}

- name: setup
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.NODE_VERSION }}
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion release-channel-link/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ runs:
id: branch
run: echo "clean_title=$(echo ${{ github.head_ref }} | sed 's/[^a-zA-Z0-9]/-/g')" >> $GITHUB_OUTPUT

- uses: actions/github-script@v6
- uses: actions/github-script@v7
name: Create comment
env:
RELEASE_CHANNEL_BASE_URI: ${{ inputs.base-url }}
Expand Down
2 changes: 1 addition & 1 deletion semver-title-checker/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: 'Validates if a PR title ends with a hint on how to version on merg
runs:
using: "composite"
steps:
- uses: actions/github-script@v6
- uses: actions/github-script@v7
name: Check title
with:
script: |
Expand Down
4 changes: 2 additions & 2 deletions setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ runs:
steps:
- name: initialize default inputs (environment)
id: initEnvironment
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
result-encoding: string
script: |
Expand All @@ -55,7 +55,7 @@ runs:
version_extractor_regex: ${{ inputs.regex }}

- name: extract services
uses: actions/github-script@v6
uses: actions/github-script@v7
id: script
with:
result-encoding: string
Expand Down
4 changes: 2 additions & 2 deletions tag/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ runs:
steps:
- if: ${{ inputs.message }}
name: create annotated tag
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ inputs.GITHUB_TOKEN || env.GITHUB_TOKEN || github.token }}
script: |
Expand All @@ -43,7 +43,7 @@ runs:
message: ${{ inputs.message }}

- name: create ref
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ inputs.GITHUB_TOKEN || env.GITHUB_TOKEN || github.token }}
script: |
Expand Down
4 changes: 2 additions & 2 deletions yarn-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ runs:
using: 'composite'
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ inputs.GITHUB_TOKEN }}
fetch-depth: '0' # important for versioning
persist-credentials: false # important for legacy github packages

- name: setup
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.NODE_VERSION }}
cache: 'yarn'
Expand Down

0 comments on commit 41329cd

Please sign in to comment.