Skip to content

Commit

Permalink
ci(proto): pin runner version to ubuntu-20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
ivivanov authored and Lockwarr committed Jul 12, 2024
1 parent da94c93 commit 136f042
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/proto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ env:
ERC_REPOSITORY: "protogen"
IMAGE_TAG: "0.2.0"
DOCKERFILE: ".github/images/protogen.Dockerfile"

ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
jobs:
# Checks if protogen image exists in docker registry
protogen-exists:
name: Check protogen exists
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container: amazon/aws-cli
outputs:
# 'failure' - when no image with such tag exists
Expand All @@ -34,7 +34,7 @@ jobs:

steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@v1-node16
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand All @@ -54,13 +54,13 @@ jobs:
protogen-create:
name: Create protogen image
needs: protogen-exists
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4f
uses: aws-actions/configure-aws-credentials@v1-node16
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand All @@ -85,7 +85,7 @@ jobs:
proto-lint:
name: Lint protobuf files
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
Expand All @@ -96,7 +96,7 @@ jobs:

proto-break-check:
name: Detect breaking changes
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1.9.0
Expand Down

0 comments on commit 136f042

Please sign in to comment.