Prefer gitea.com-hosted actions where available

Some of the newer versions of the github.com versions aren't compatible
with gitea's fork of act_runner.
This commit is contained in:
Brian Tarricone 2023-09-20 18:45:08 -07:00
parent 3f42a08bcb
commit 89e37e2258
2 changed files with 7 additions and 7 deletions

View File

@ -9,7 +9,7 @@ jobs:
name: CI name: CI
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: https://gitea.com/actions/checkout@v3
- uses: https://github.com/actions-rs/toolchain@v1 - uses: https://github.com/actions-rs/toolchain@v1
with: with:
toolchain: stable toolchain: stable

View File

@ -8,7 +8,7 @@ jobs:
name: Publish to crates.io name: Publish to crates.io
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: https://gitea.com/actions/checkout@v3
- uses: https://github.com/actions-rs/toolchain@v1 - uses: https://github.com/actions-rs/toolchain@v1
with: with:
toolchain: stable toolchain: stable
@ -19,7 +19,7 @@ jobs:
name: Publish to Docker Hub name: Publish to Docker Hub
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: https://gitea.com/actions/checkout@v3
- name: docker meta - name: docker meta
id: meta id: meta
uses: https://github.com/docker/metadata-action@v4 uses: https://github.com/docker/metadata-action@v4
@ -30,13 +30,13 @@ jobs:
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}} type=semver,pattern={{major}}
- uses: docker/setup-qemu-action@v3 - uses: https://gitea.com/docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v3 - uses: https://gitea.com/docker/setup-buildx-action@v2
- uses: docker/login-action@v3 - uses: https://gitea.com/docker/login-action@v2
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }} password: ${{ secrets.DOCKERHUB_PASSWORD }}
- uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 - uses: https://gitea.com/docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with: with:
context: . context: .
push: true push: true