Skip to content

Commit

Permalink
chore(ci): update runner images
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Apr 4, 2023
1 parent 823d272 commit 07e7938
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
26 changes: 13 additions & 13 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-20.04
runs-on: ubuntu-22.04
outputs:
release_body: ${{ steps.git-cliff.outputs.content }}
steps:
Expand Down Expand Up @@ -38,42 +38,42 @@ jobs:
build:
- {
NAME: linux-x64-glibc,
OS: ubuntu-20.04,
OS: ubuntu-22.04,
TOOLCHAIN: stable,
TARGET: x86_64-unknown-linux-gnu,
NPM_PUBLISH: true,
}
- {
NAME: linux-x64-musl,
OS: ubuntu-20.04,
OS: ubuntu-22.04,
TOOLCHAIN: stable,
TARGET: x86_64-unknown-linux-musl,
NPM_PUBLISH: false,
}
- {
NAME: linux-x86-glibc,
OS: ubuntu-20.04,
OS: ubuntu-22.04,
TOOLCHAIN: stable,
TARGET: i686-unknown-linux-gnu,
NPM_PUBLISH: false,
}
- {
NAME: linux-x86-musl,
OS: ubuntu-20.04,
OS: ubuntu-22.04,
TOOLCHAIN: stable,
TARGET: i686-unknown-linux-musl,
NPM_PUBLISH: false,
}
- {
NAME: linux-arm64-glibc,
OS: ubuntu-20.04,
OS: ubuntu-22.04,
TOOLCHAIN: stable,
TARGET: aarch64-unknown-linux-gnu,
NPM_PUBLISH: true,
}
- {
NAME: linux-arm64-musl,
OS: ubuntu-20.04,
OS: ubuntu-22.04,
TOOLCHAIN: stable,
TARGET: aarch64-unknown-linux-musl,
NPM_PUBLISH: false,
Expand Down Expand Up @@ -108,14 +108,14 @@ jobs:
}
- {
NAME: darwin-x64,
OS: macos-11,
OS: macos-12,
TOOLCHAIN: stable,
TARGET: x86_64-apple-darwin,
NPM_PUBLISH: true,
}
- {
NAME: darwin-arm64,
OS: macos-11,
OS: macos-12,
TOOLCHAIN: stable,
TARGET: aarch64-apple-darwin,
NPM_PUBLISH: true,
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
> git-cliff-${{ env.RELEASE_VERSION }}-${{ matrix.build.TARGET }}.tar.gz.sha512
fi
- name: Sign the release
if: matrix.build.OS == 'ubuntu-20.04' || matrix.build.OS == 'macos-11'
if: matrix.build.OS == 'ubuntu-22.04' || matrix.build.OS == 'macos-12'
run: |
echo "${{ secrets.GPG_RELEASE_KEY }}" | base64 --decode > private.key
echo "${{ secrets.GPG_PASSPHRASE }}" | gpg --pinentry-mode=loopback \
Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:
publish-npm:
name: Publish the base package to NPM
needs: publish-binaries
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -258,7 +258,7 @@ jobs:
publish-deb:
name: Publish Debian package
needs: generate-changelog
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -297,7 +297,7 @@ jobs:

publish-crates-io:
name: Publish on crates.io
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
check:
name: Check
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Install toolchain
uses: actions-rs/toolchain@v1
Expand All @@ -31,7 +31,7 @@ jobs:

test:
name: Test suite
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Install toolchain
uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:

clippy:
name: Lints
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Install toolchain
uses: actions-rs/toolchain@v1
Expand All @@ -88,7 +88,7 @@ jobs:

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

lychee:
name: Links
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -120,7 +120,7 @@ jobs:

audit:
name: Audit check
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
jobs:
docker:
name: Docker Build and Push
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
test-fixtures:
name: Test fixtures
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 07e7938

Please sign in to comment.