diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e1e937c0e..996c0d323 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,13 +11,13 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: 18 - name: Cache - uses: actions/cache@v2 + uses: actions/cache@v4 id: cache with: path: '**/node_modules' diff --git a/.github/workflows/docker-edge.yml b/.github/workflows/docker-edge.yml index cff1747f0..497da722a 100644 --- a/.github/workflows/docker-edge.yml +++ b/.github/workflows/docker-edge.yml @@ -38,17 +38,17 @@ jobs: matrix: os: [ubuntu, alpine] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: # Push to both Docker Hub and Github Container Registry images: ${{ env.IMAGES }} @@ -56,14 +56,14 @@ jobs: tags: ${{ env.TAGS }} - name: Login to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 if: github.event_name != 'pull_request' with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 if: github.event_name != 'pull_request' with: registry: ghcr.io @@ -76,7 +76,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Build and push image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: ${{ github.event_name != 'pull_request' }} diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index 96d947f6a..eb43f0159 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -27,17 +27,17 @@ jobs: name: Build Docker image runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: # Push to both Docker Hub and Github Container Registry images: ${{ env.IMAGES }} @@ -47,7 +47,7 @@ jobs: - name: Docker meta for Alpine image id: alpine-meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.IMAGES }} # Automatically update :latest @@ -57,20 +57,20 @@ jobs: tags: ${{ env.TAGS }} - name: Login to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push ubuntu image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: true @@ -79,7 +79,7 @@ jobs: tags: ${{ steps.meta.outputs.tags }} - name: Build and push alpine image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: true diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 560fb904e..73b25b605 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,13 +11,13 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: 18 - name: Cache - uses: actions/cache@v2 + uses: actions/cache@v4 id: cache with: path: '**/node_modules' diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index c8e6b9896..9b4d75373 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check release notes if: startsWith(github.head_ref, 'release/') == false uses: actualbudget/actions/release-notes/check@main diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 822170f9c..b1aca9e05 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,13 +11,13 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: 18 - name: Cache - uses: actions/cache@v2 + uses: actions/cache@v4 id: cache with: path: '**/node_modules' diff --git a/upcoming-release-notes/307.md b/upcoming-release-notes/307.md new file mode 100644 index 000000000..201fbbc17 --- /dev/null +++ b/upcoming-release-notes/307.md @@ -0,0 +1,6 @@ +--- +category: Maintenance +authors: [MatissJanis] +--- + +Upgrade deprecated github actions