Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warnings in GitHub workflows #181

Merged
merged 7 commits into from
Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 8 additions & 10 deletions .github/workflows/build_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
workflow_dispatch:
inputs:
image_tag:
description: 'ECR image tag type'
description: "ECR image tag type"
required: false
type: choice
options:
- 'latest'
- 'release'
default: 'latest'
- "latest"
- "release"
default: "latest"
push:
branches:
- main
Expand All @@ -27,17 +27,15 @@ jobs:
uses: actions/checkout@v3

- name: Get package version
uses: tyankatsu0105/read-package-version-actions@v1
with:
path: "./"
uses: phips28/gh-action-bump-version@v10.0.1
id: package-version

- name: Get image tag
id: get-image-tag
run: |
if ${{ github.event_name == 'workflow_dispatch' }} ; then
if ${{ inputs.image_tag == 'release'}}; then
echo "image_tag=${{ steps.package-version.outputs.version }}" >> $GITHUB_OUTPUT
echo "image_tag=${{ steps.package-version.outputs.newTag }}" >> $GITHUB_OUTPUT
else
echo "image_tag=latest" >> $GITHUB_OUTPUT
fi
Expand All @@ -46,7 +44,7 @@ jobs:
fi

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v3
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_ECR }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_ECR }}
Expand All @@ -57,7 +55,7 @@ jobs:

- name: Login to Amazon ECR
id: login-ecr-public
uses: aws-actions/amazon-ecr-login@v1
uses: karlonovak/amazon-ecr-login@v2.0.0
cubeddu marked this conversation as resolved.
Show resolved Hide resolved
with:
registry-type: public

Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ jobs:
run: pnpm test

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
directory: "./packages/graph-explorer/coverage"
files: "*.info"

flags: unittests