From 7201f36360cb0c5983a204b545a61a18b1aad02e Mon Sep 17 00:00:00 2001 From: David Quintanel Date: Wed, 29 Nov 2023 11:04:09 +0100 Subject: [PATCH] [tech] upgrade some github actions --- .github/workflows/auto-tagging.yml | 2 +- .github/workflows/continuous-integration-deb11.yml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/auto-tagging.yml b/.github/workflows/auto-tagging.yml index 5b1218340..8b8bbb0b1 100644 --- a/.github/workflows/auto-tagging.yml +++ b/.github/workflows/auto-tagging.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest permissions: write-all steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Fetch existing tags run: git fetch --tags - name: Generate tag diff --git a/.github/workflows/continuous-integration-deb11.yml b/.github/workflows/continuous-integration-deb11.yml index 3e984e1ed..da42791ce 100644 --- a/.github/workflows/continuous-integration-deb11.yml +++ b/.github/workflows/continuous-integration-deb11.yml @@ -35,7 +35,7 @@ jobs: username: AWS password: ${{ needs.aws_creds.outputs.token }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Format run: make format clippy: @@ -48,7 +48,7 @@ jobs: username: AWS password: ${{ needs.aws_creds.outputs.token }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Lint run: make lint audit: @@ -62,7 +62,7 @@ jobs: password: ${{ needs.aws_creds.outputs.token }} continue-on-error: true steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Audit run: | cargo audit @@ -77,7 +77,7 @@ jobs: password: ${{ needs.aws_creds.outputs.token }} steps: - name: Checkout repository and submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive # for tests/NeTEx - name: Install xmllint @@ -92,18 +92,18 @@ jobs: - name: CleanUp run: | sudo chown -R $USER . - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 clean: false - name: Login to Amazon ECR sandbox env: AWS_REGION: eu-west-1 - uses: aws-actions/amazon-ecr-login@v1 + uses: aws-actions/amazon-ecr-login@v2 - name: Login to Amazon ECR shared env: AWS_REGION: eu-west-1 - uses: aws-actions/amazon-ecr-login@v1 + uses: aws-actions/amazon-ecr-login@v2 with: registries: 162230498103 - name: Build and Push to SBX ECR