Skip to content

Commit

Permalink
update used gh actions ahead of node12 deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbloss committed May 17, 2023
1 parent 44b1fe5 commit ec2cfe4
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/add_issue_to_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.4.1
- uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/dbt-labs/projects/14
github-token: ${{ secrets.DOCS_SECRET }}
2 changes: 1 addition & 1 deletion .github/workflows/add_pr_to_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Add pr to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.4.1
- uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/dbt-labs/projects/37
github-token: ${{ secrets.DOCS_SECRET }}
2 changes: 1 addition & 1 deletion .github/workflows/create_next_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
if: github.repository == 'dbt-labs/docs.getdbt.com'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: pull-request
uses: repo-sync/pull-request@v2
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/cypress_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: install node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '16.13.1'

Expand All @@ -28,7 +28,7 @@ jobs:
echo "PR_NUMBER=${PR_NUMBER}" >> ${GITHUB_ENV}
- name: run cypress e2e
uses: cypress-io/github-action@v4
uses: cypress-io/github-action@v5
with:
command: npx cypress run
browser: chrome
Expand All @@ -40,8 +40,8 @@ jobs:
CYPRESS_BASE_URL: https://deploy-preview-${{ env.PR_NUMBER }}--docs-getdbt-com.netlify.app

- name: Screenshot artifact upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
path: cypress/screenshots
2 changes: 1 addition & 1 deletion .github/workflows/labelsizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
name: Label the PR size
steps:
- uses: codelytv/pr-size-labeler@v1.8.1
- uses: codelytv/pr-size-labeler@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
xs_label: 'size: x-small'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '18.12.0'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/team-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ jobs:
team-labeler:
runs-on: ubuntu-latest
steps:
- uses: JulienKode/team-labeler-action@v0.1.1
- uses: JulienKode/team-labeler-action@v1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
4 changes: 2 additions & 2 deletions website/blog/2022-07-26-pre-commit-dbt.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
steps:
- name: Checkout branch
uses: actions/checkout@v2
uses: actions/checkout@v3
# Using bash and pip to install dbt and pre-commit
# Update the dbt installation command to include the adapter you need
Expand All @@ -179,7 +179,7 @@ jobs:
# This action will output all the files that are being created and modified in our PR
- name: Get changed files
id: get_file_changes
uses: trilom/file-changes-action@v1.2.4
uses: trilom/file-changes-action@v1
with:
output: ' '
Expand Down
4 changes: 2 additions & 2 deletions website/blog/2023-01-27-autoscaling-ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ jobs:
GIT_SHA: ${{ github.event.pull_request.head.sha }}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.9.x"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

steps:
- uses: "actions/checkout@v3"
- uses: "actions/setup-python@v2"
- uses: "actions/setup-python@v4"
with:
python-version: "3.9"
- name: Install SQLFluff
Expand Down

0 comments on commit ec2cfe4

Please sign in to comment.