summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMohammed Anas <triallax@tutanota.com>2022-06-05 23:05:19 +0300
committerGitHub <noreply@github.com>2022-06-05 22:05:19 +0200
commit7ad111e2f65c2688c7accb31ff75171c29f2cc26 (patch)
tree17c84e216592d7f1a21792275d1e5b63a3bf9b46 /.github
parent4ae77bcef95ccaa0b07bf750d660297c97be89b5 (diff)
downloadinvidious-7ad111e2f65c2688c7accb31ff75171c29f2cc26.tar.gz
invidious-7ad111e2f65c2688c7accb31ff75171c29f2cc26.tar.bz2
invidious-7ad111e2f65c2688c7accb31ff75171c29f2cc26.zip
Update actions used in GH workflows (#3138)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml16
-rw-r--r--.github/workflows/container-release.yml20
-rw-r--r--.github/workflows/stale.yml4
3 files changed, 20 insertions, 20 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4e68b7f2..6107e260 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -46,15 +46,15 @@ jobs:
stable: false
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Install Crystal
- uses: crystal-lang/install-crystal@v1.5.3
+ uses: crystal-lang/install-crystal@v1.6.0
with:
crystal: ${{ matrix.crystal }}
- name: Cache Shards
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: ./lib
key: shards-${{ hashFiles('shard.lock') }}
@@ -84,7 +84,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Build Docker
run: docker-compose build --build-arg release=0
@@ -100,18 +100,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Set up QEMU
- uses: docker/setup-qemu-action@v1
+ uses: docker/setup-qemu-action@v2
with:
platforms: arm64
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v1
+ uses: docker/setup-buildx-action@v2
- name: Build Docker ARM64 image
- uses: docker/build-push-action@v2
+ uses: docker/build-push-action@v3
with:
context: .
file: docker/Dockerfile.arm64
diff --git a/.github/workflows/container-release.yml b/.github/workflows/container-release.yml
index 36fb566e..212487c8 100644
--- a/.github/workflows/container-release.yml
+++ b/.github/workflows/container-release.yml
@@ -15,20 +15,20 @@ on:
- screenshots/*
- .github/ISSUE_TEMPLATE/*
- kubernetes/**
-
+
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v2
-
+ uses: actions/checkout@v3
+
- name: Install Crystal
- uses: oprypin/install-crystal@v1.2.4
+ uses: crystal-lang/install-crystal@v1.6.0
with:
crystal: 1.2.2
-
+
- name: Run lint
run: |
if ! crystal tool format --check; then
@@ -38,15 +38,15 @@ jobs:
fi
- name: Set up QEMU
- uses: docker/setup-qemu-action@v1
+ uses: docker/setup-qemu-action@v2
with:
platforms: arm64
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v1
+ uses: docker/setup-buildx-action@v2
- name: Login to registry
- uses: docker/login-action@v1
+ uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
@@ -54,7 +54,7 @@ jobs:
- name: Build and push Docker AMD64 image for Push Event
if: github.ref == 'refs/heads/master'
- uses: docker/build-push-action@v2
+ uses: docker/build-push-action@v3
with:
context: .
file: docker/Dockerfile
@@ -66,7 +66,7 @@ jobs:
- name: Build and push Docker ARM64 image for Push Event
if: github.ref == 'refs/heads/master'
- uses: docker/build-push-action@v2
+ uses: docker/build-push-action@v3
with:
context: .
file: docker/Dockerfile.arm64
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 86275da7..ff28d49b 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -10,11 +10,11 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- - uses: actions/stale@v3
+ - uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 365
- days-before-pr-stale: 45 # PRs should be active. Anything that hasn't had activity in more than 45 days should be considered abandoned.
+ days-before-pr-stale: 45 # PRs should be active. Anything that hasn't had activity in more than 45 days should be considered abandoned.
days-before-close: 30
exempt-pr-labels: blocked
stale-issue-message: 'This issue has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, you just have to post a comment and it will be unmarked.'