-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use default docker registry * update checkout action to v4 * update docker login action to v3 * add dependabot config to check for outdated deps once a month * clean comments on dependabot.yml
- Loading branch information
Showing
15 changed files
with
65 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
version: 2 | ||
updates: | ||
# Enable version updates for github-actions | ||
- package-ecosystem: "github-actions" | ||
# Look for a `Dockerfile` in the `root` directory | ||
directory: "/" | ||
# Check for updates once a month | ||
schedule: | ||
interval: "monthly" | ||
labels: | ||
- "ci" | ||
- "B0-silent" | ||
- "D2-notlive" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ jobs: | |
echo "repo.full_name: ${{ github.event.pull_request.head.repo.full_name }}" | ||
echo "github.repository: ${{ github.repository }}" | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ steps.check-git-ref.outputs.git_ref }} | ||
- name: Get Latest RT Release | ||
|
@@ -119,7 +119,7 @@ jobs: | |
needs: ["set-tags"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ needs.set-tags.outputs.git_ref }} | ||
- name: Find un-copyrighted files | ||
|
@@ -137,7 +137,7 @@ jobs: | |
needs: ["set-tags"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ needs.set-tags.outputs.git_ref }} | ||
- uses: gaurav-nelson/github-action-markdown-link-check@v1 | ||
|
@@ -151,7 +151,7 @@ jobs: | |
needs: ["set-tags"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ needs.set-tags.outputs.git_ref }} | ||
- name: Setup editorconfig checker | ||
|
@@ -171,7 +171,7 @@ jobs: | |
needs: ["set-tags"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ needs.set-tags.outputs.git_ref }} | ||
- uses: oven-sh/setup-bun@v1 | ||
|
@@ -194,7 +194,7 @@ jobs: | |
needs: ["set-tags"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ needs.set-tags.outputs.git_ref }} | ||
- name: Use pnpm | ||
|
@@ -220,7 +220,7 @@ jobs: | |
needs: ["set-tags"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ needs.set-tags.outputs.git_ref }} | ||
# With rustup's nice new toml format, we just need to run rustup show to install the toolchain | ||
|
@@ -236,7 +236,7 @@ jobs: | |
needs: ["set-tags"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ needs.set-tags.outputs.git_ref }} | ||
- name: Setup Rust toolchain | ||
|
@@ -250,7 +250,7 @@ jobs: | |
needs: ["set-tags"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ needs.set-tags.outputs.git_ref }} | ||
# With rustup's nice new toml format, we just need to run rustup show to install the toolchain | ||
|
@@ -268,7 +268,7 @@ jobs: | |
needs: ["set-tags"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ needs.set-tags.outputs.git_ref }} | ||
- name: Install Protoc | ||
|
@@ -291,7 +291,7 @@ jobs: | |
needs: ["set-tags"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ needs.set-tags.outputs.git_ref }} | ||
- name: Cargo build | ||
|
@@ -317,7 +317,7 @@ jobs: | |
SCCACHE_CACHE_SIZE: "100GB" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ needs.set-tags.outputs.git_ref }} | ||
- name: Run sccache-cache | ||
|
@@ -361,7 +361,7 @@ jobs: | |
DEBUG_COLORS: 1 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ needs.set-tags.outputs.git_ref }} | ||
- run: | | ||
|
@@ -408,7 +408,7 @@ jobs: | |
needs: ["set-tags", "build"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ needs.set-tags.outputs.git_ref }} | ||
- uses: actions/[email protected] | ||
|
@@ -466,7 +466,7 @@ jobs: | |
if: ${{ needs.set-tags.outputs.image_exists == 'false' && !github.event.pull_request.head.repo.fork }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ needs.set-tags.outputs.git_ref }} | ||
- uses: actions/[email protected] | ||
|
@@ -489,7 +489,7 @@ jobs: | |
driver-opts: | | ||
image=moby/buildkit:master | ||
- name: Login to DockerHub | ||
uses: docker/login-action@v2.2.0 | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.MBF_DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.MBF_DOCKERHUB_PASSWORD }} | ||
|
@@ -511,7 +511,7 @@ jobs: | |
org.opencontainers.image.revision=${{ github.sha }} | ||
org.opencontainers.image.licenses=${{ github.event.repository.license.spdx_id }} | ||
- name: Login to DockerHub | ||
uses: docker/login-action@v2.2.0 | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
@@ -535,7 +535,7 @@ jobs: | |
DEBUG_COLORS: 1 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ needs.set-tags.outputs.git_ref }} | ||
- uses: pnpm/action-setup@v2 | ||
|
@@ -583,7 +583,7 @@ jobs: | |
DEBUG_COLORS: 1 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ needs.set-tags.outputs.git_ref }} | ||
- uses: pnpm/action-setup@v2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
RUSTFLAGS: "-C target-cpu=${{ matrix.cpu }}" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.inputs.sha }} | ||
- name: Setup Rust toolchain | ||
|
@@ -49,7 +49,7 @@ jobs: | |
needs: ["build-binary"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.inputs.sha }} | ||
- uses: actions/[email protected] | ||
|
@@ -73,7 +73,7 @@ jobs: | |
driver-opts: | | ||
image=moby/buildkit:master | ||
- name: Login to DockerHub | ||
uses: docker/login-action@v2.2.0 | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.MBF_DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.MBF_DOCKERHUB_PASSWORD }} | ||
|
@@ -95,7 +95,7 @@ jobs: | |
org.opencontainers.image.revision=${{ github.sha }} | ||
org.opencontainers.image.licenses=${{ github.event.repository.license.spdx_id }} | ||
- name: Login to DockerHub | ||
uses: docker/login-action@v2.2.0 | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
setup-scripts: | ||
runs-on: bare-metal | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Upload tools | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -31,7 +31,7 @@ jobs: | |
cpu: ["", "skylake", "znver3"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.inputs.to }} | ||
- name: Build production moonbeam | ||
|
@@ -79,7 +79,7 @@ jobs: | |
asset_upload_url: ${{ steps.create-release.outputs.upload_url }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.inputs.to }} | ||
fetch-depth: 0 | ||
|
@@ -157,23 +157,24 @@ jobs: | |
needs: ["build-binary", "publish-draft-release"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.inputs.to }} | ||
- uses: actions/[email protected] | ||
with: | ||
name: binaries | ||
path: build | ||
- name: Login to DockerHub | ||
uses: docker/login-action@v2.2.0 | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.MBF_DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.MBF_DOCKERHUB_PASSWORD }} | ||
registry: index.docker.io | ||
- run: | | ||
DOCKER_IMAGE=moonbeamfoundation/moonbeam | ||
COMMIT=`git rev-list -n 1 '${{ github.event.inputs.to }}'` | ||
SHA=sha-${COMMIT::8} | ||
echo using "${DOCKER_IMAGE}:${SHA} as base image" | ||
TAG="${{ github.event.inputs.to }}-rc" | ||
echo building "${DOCKER_IMAGE}:${TAG}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.