Skip to content

Commit

Permalink
Update dependency versions used in Github Actions
Browse files Browse the repository at this point in the history
- actions/checkout@v2 -> v3
- actions/cache@v2 -> v3
- docker/setup-buildx-action@v1 -> v2
- docker/build-push-action@v2 -> v3
- docker/login-action@v1 -> v2
- docker://elasticsearch:7.17.5 -> 7.17.7
- CURL_VERSION: 7.67.0 -> 7.86.0
- OPENSSL_VERSION: 1.1.1d -> 1.1.1q
  • Loading branch information
abitmore committed Oct 28, 2022
1 parent ad7d0b9 commit 9299b52
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
brew install ccache
brew install parallel
brew install bitshares/boost/boost@1.69
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Configure
Expand All @@ -31,7 +31,7 @@ jobs:
-D OPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1 \
..
- name: Load Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ccache
key: ccache-${{ matrix.os }}-${{ github.ref }}-${{ github.sha }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test.ubuntu-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ${{ matrix.os }}
services:
elasticsearch:
image: docker://elasticsearch:7.17.5
image: docker://elasticsearch:7.17.7
options: --env discovery.type=single-node --publish 9200:9200 --publish 9300:9300
steps:
- name: Install dependencies
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
df -h
sudo du -hs /mnt/*
sudo ls -alr /mnt/
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Configure
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
..
popd
- name: Load Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ccache
key: ccache-debug-${{ matrix.os }}-${{ github.ref }}-${{ github.sha }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test.ubuntu-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ${{ matrix.os }}
services:
elasticsearch:
image: docker://elasticsearch:7.17.5
image: docker://elasticsearch:7.17.7
options: --env discovery.type=single-node --publish 9200:9200 --publish 9300:9300
steps:
- name: Install dependencies
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
sudo apt-get auto-remove -y
sudo apt-get clean -y
df -h
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Configure
Expand All @@ -57,7 +57,7 @@ jobs:
..
popd
- name: Load Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ccache
key: ccache-release-${{ matrix.os }}-${{ github.ref }}-${{ github.sha }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build-and-test.win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ env:
# The following are for windows cross-build only:
BOOST_VERSION: 1_69_0
BOOST_DOTTED_VERSION: 1.69.0
CURL_VERSION: 7.67.0
OPENSSL_VERSION: 1.1.1d
CURL_VERSION: 7.86.0
OPENSSL_VERSION: 1.1.1q
ZLIB_VERSION: 1.2.13
jobs:
prepare-mingw64-libs:
Expand All @@ -19,7 +19,7 @@ jobs:
echo "OS_VERSION=`lsb_release -sr`" >> $GITHUB_ENV
- name: Load Cache
id: cache-libs
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: libs
key: mingw64-libs-${{ env.OS_VERSION }}-${{ env.BOOST_VERSION }}_${{ env.CURL_VERSION }}_${{ env.OPENSSL_VERSION }}_${{ env.ZLIB_VERSION }}
Expand Down Expand Up @@ -113,13 +113,13 @@ jobs:
sudo apt-get auto-remove -y
sudo apt-get clean -y
df -h
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- run: |
echo "OS_VERSION=`lsb_release -sr`" >> $GITHUB_ENV
- name: Load external libraries
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: libs
key: mingw64-libs-${{ env.OS_VERSION }}-${{ env.BOOST_VERSION }}_${{ env.CURL_VERSION }}_${{ env.OPENSSL_VERSION }}_${{ env.ZLIB_VERSION }}
Expand All @@ -143,7 +143,7 @@ jobs:
-D GRAPHENE_DISABLE_UNITY_BUILD=ON \
..
- name: Load Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ccache
key: ccache-mingw64-${{ env.OS_VERSION }}-${{ github.ref }}-${{ github.sha }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,23 @@ jobs:
if: env.DOCKER_PUSH_TAG != ''
run: echo "${DOCKER_PUSH_TAG}"
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
- name: Build only
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: .
load: true
- name: Login to DockerHub
if: env.DOCKER_PUSH_TAG != ''
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Push to DockerHub
if: env.DOCKER_PUSH_TAG != ''
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: .
push: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/sonar-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ${{ matrix.os }}
services:
elasticsearch:
image: docker://elasticsearch:7.17.5
image: docker://elasticsearch:7.17.7
options: --env discovery.type=single-node --publish 9200:9200 --publish 9300:9300
steps:
- name: Download and install latest SonarScanner CLI tool
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
df -h
sudo du -hs /mnt/*
sudo ls -alr /mnt/
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
- run: |
echo "OS_VERSION=`lsb_release -sr`" >> $GITHUB_ENV
- name: Load Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
ccache
Expand Down

0 comments on commit 9299b52

Please sign in to comment.