Skip to content

Commit

Permalink
chore(workflow): update the runner to ubuntu-20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Sep 25, 2021
1 parent b323e60 commit 5069594
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
generate-changelog:
name: Generate changelog
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
outputs:
release_body: ${{ steps.release.outputs.release_body }}
steps:
Expand Down Expand Up @@ -44,11 +44,11 @@ jobs:
build: [linux-gnu, linux-musl, win-gnu, win-msvc, win32-msvc, macos]
include:
- BUILD: linux-gnu
OS: ubuntu-18.04
OS: ubuntu-20.04
TOOLCHAIN: stable
TARGET: x86_64-unknown-linux-gnu
- BUILD: linux-musl
OS: ubuntu-18.04
OS: ubuntu-20.04
TOOLCHAIN: stable
TARGET: x86_64-unknown-linux-musl
- BUILD: win-gnu
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
> git-cliff-${{ env.RELEASE_VERSION }}-${{ matrix.TARGET }}.tar.gz.sha512
fi
- name: Sign the release
if: matrix.OS == 'ubuntu-18.04' || matrix.OS == 'macos-10.15'
if: matrix.OS == 'ubuntu-20.04' || matrix.OS == 'macos-10.15'
run: |
echo "${{ secrets.GPG_RELEASE_KEY }}" | base64 --decode > private.key
echo "${{ secrets.GPG_PASSPHRASE }}" | gpg --pinentry-mode=loopback \
Expand All @@ -134,7 +134,7 @@ jobs:
publish-docker:
name: Publish the Docker image
needs: publish-github
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -160,7 +160,7 @@ jobs:
publish-crates-io:
name: Publish on crates.io
needs: publish-github
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
check:
name: Check
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Install toolchain
uses: actions-rs/toolchain@v1
Expand All @@ -29,7 +29,7 @@ jobs:

test:
name: Test suite
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Install toolchain
uses: actions-rs/toolchain@v1
Expand All @@ -54,7 +54,7 @@ jobs:
clippy:
name: Lints
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Install toolchain
uses: actions-rs/toolchain@v1
Expand All @@ -73,7 +73,7 @@ jobs:

rustfmt:
name: Formatting
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Install toolchain
uses: actions-rs/toolchain@v1
Expand All @@ -92,7 +92,7 @@ jobs:

lychee:
name: Links
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
docker:
name: Docker
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit 5069594

Please sign in to comment.