Skip to content

Commit

Permalink
Update actions to avoid deprecation warnings (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock authored Oct 23, 2024
1 parent f777543 commit 8abf784
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ jobs:
name: Buildbox tests
steps:
- name: Checkout ${{ github.sha }}
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Setup Ruby using Bundler
uses: ruby/setup-ruby@v1
with:
Expand All @@ -54,7 +54,7 @@ jobs:
- name: Export Docker image
run: bundle exec rake ood_packaging:buildbox:save[${{ matrix.dist }},${{ matrix.arch }},/tmp/ood_packaging-${{ matrix.dist }}-${{ matrix.arch }}.tar.gz]
- name: Upload Docker image
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: image-${{ matrix.dist }}-${{ matrix.arch }}
path: /tmp/ood_packaging-${{ matrix.dist }}-${{ matrix.arch }}.tar.gz
Expand Down Expand Up @@ -123,15 +123,15 @@ jobs:
name: Package test package=${{ matrix.package }} dist=${{ matrix.dist }} arch=${{ matrix.arch }}
steps:
- name: Checkout ${{ github.sha }}
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Ruby ${{ matrix.ruby }} using Bundler ${{ matrix.bundler }}
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0.4'
bundler: '2.1.4'
bundler-cache: true
- name: Download image
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: image-${{ matrix.dist }}-${{ matrix.arch }}
path: /tmp
Expand Down Expand Up @@ -194,15 +194,15 @@ jobs:
name: Package test package=${{ matrix.package }} dist=${{ matrix.dist }} arch=${{ matrix.arch }}
steps:
- name: Checkout ${{ github.sha }}
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Ruby ${{ matrix.ruby }} using Bundler ${{ matrix.bundler }}
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0.4'
bundler: '2.1.4'
bundler-cache: true
- name: Download image
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: image-${{ matrix.dist }}-${{ matrix.arch }}
path: /tmp
Expand Down Expand Up @@ -280,15 +280,15 @@ jobs:
name: Package ${{ matrix.package }} dist=${{ matrix.dist }} arch=${{ matrix.arch }}
steps:
- name: Checkout ${{ github.sha }}
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Ruby using Bundler
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0.4'
bundler: '2.1.4'
bundler-cache: true
- name: Download image
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: image-${{ matrix.dist }}-${{ matrix.arch }}
path: /tmp
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Setup Ruby using Bundler
uses: ruby/setup-ruby@v1
with:
Expand All @@ -62,7 +62,7 @@ jobs:
VERSION=${GITHUB_REF#refs/*/v}
echo "VERSION=${VERSION}" >> $GITHUB_ENV
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Ruby using Bundler
uses: ruby/setup-ruby@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: Unit tests
steps:
- name: Checkout ${{ github.sha }}
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Ruby ${{ matrix.ruby }} using Bundler ${{ matrix.bundler }}
uses: ruby/setup-ruby@v1
with:
Expand Down

0 comments on commit 8abf784

Please sign in to comment.