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

ci: updating the uses tag version in gh actions jobs; #288 #295

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all 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
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
env:
BUILD_RELEASE: 1
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Build Env
Expand All @@ -35,7 +35,7 @@ jobs:
name: Lint
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Build Env
Expand All @@ -55,11 +55,11 @@ jobs:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed to v5 locally

with:
python-version: ${{ matrix.python-version }}
- name: Setup Build Env
Expand All @@ -71,7 +71,7 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Build Env
Expand All @@ -85,7 +85,7 @@ jobs:
- name: Shorten SHA
id: vars
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: ${{ !env.ACT }}
name: Archive Test Results
with:
Expand All @@ -98,7 +98,7 @@ jobs:
name: doxygen
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Doxygen
Expand All @@ -109,7 +109,7 @@ jobs:
run: doxygen Doxyfile
- name: Upload Docs artifacts
if: ${{ !env.ACT }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: OpenCBDC Transaction Processor docs for ${{ steps.vars.outputs.sha_short }}
path: ./doxygen_generated/html/*
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/docker-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: docker merge
on:
push:
branches:
- 'trunk'
- trunk

jobs:
docker-build:
Expand All @@ -15,14 +15,14 @@ jobs:
# CI Setup #
########################
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

########################
# Build Base #
########################
- name: Docker meta base (merge)
id: meta-base
uses: docker/metadata-action@v3
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
Expand All @@ -35,20 +35,20 @@ jobs:
type=sha

- name: Set up QEMU (merge)
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx (merge)
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed to v3


- name: Login to GitHub Container Registry (merge)
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push base (merge)
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
target: base
Expand All @@ -69,7 +69,7 @@ jobs:
########################
- name: Docker meta twophase (merge)
id: meta-twophase
uses: docker/metadata-action@v3
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
Expand All @@ -83,7 +83,7 @@ jobs:

- name: Docker meta atomizer (merge)
id: meta-atomizer
uses: docker/metadata-action@v3
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
Expand All @@ -97,7 +97,7 @@ jobs:

- name: Docker meta parsec (merge)
id: meta-parsec
uses: docker/metadata-action@v3
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
Expand All @@ -111,7 +111,7 @@ jobs:


- name: Build and push twophase (merge)
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
target: twophase
Expand All @@ -122,7 +122,7 @@ jobs:
cache-to: type=gha,mode=max

- name: Build and push atomizer (merge)
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
target: atomizer
Expand All @@ -133,7 +133,7 @@ jobs:
cache-to: type=gha,mode=max

- name: Build and push parsec (merge)
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
target: parsec
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
# CI Setup #
########################
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: "2"

# For PRs, this action compares between the commit and trunk
- name: Get specific changed files
id: changed-files-specific
uses: tj-actions/changed-files@v32
uses: tj-actions/changed-files@v44
with:
files: |
Dockerfile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: docker push
on:
push:
branches-ignore:
- 'trunk'
- trunk

jobs:
docker-build:
Expand All @@ -17,7 +17,7 @@ jobs:
# CI Setup #
########################
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

########################
# Build Base #
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
Expand Down
Loading