From 3eb0421ec6cca8815b69771036078922bbfb4eb2 Mon Sep 17 00:00:00 2001 From: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com> Date: Wed, 4 Oct 2023 15:41:48 +0300 Subject: [PATCH] Update workflow actions --- .github/workflows/docker.yml | 14 +++++++------- .github/workflows/main.yml | 20 ++++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 139edb2..df53504 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -11,10 +11,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # 4.1.0 - name: Install Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # 3.0.0 - name: Build image run: > @@ -25,7 +25,7 @@ jobs: . - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # 3.1.3 with: name: DiscordChatExporter.Cli.Docker path: DiscordChatExporter.Cli.Docker.tar @@ -38,10 +38,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # 4.1.0 - name: Install Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # 3.0.0 - name: Login to DockerHub run: > @@ -65,10 +65,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # 4.1.0 - name: Install Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # 3.0.0 - name: Login to DockerHub run: > diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4fdca9f..09d290c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,10 +15,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # 4.1.0 - name: Install .NET - uses: actions/setup-dotnet@v2 + uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # 3.2.0 with: dotnet-version: 7.0.x @@ -37,7 +37,7 @@ jobs: DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }} - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # 3.1.4 with: token: ${{ secrets.CODECOV_TOKEN }} @@ -49,10 +49,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # 4.1.0 - name: Install .NET - uses: actions/setup-dotnet@v2 + uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # 3.2.0 with: dotnet-version: 7.0.x @@ -69,13 +69,13 @@ jobs: --configuration Release - name: Upload artifacts (CLI) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # 3.1.3 with: name: DiscordChatExporter.Cli path: DiscordChatExporter.Cli/publish/ - name: Upload artifacts (GUI) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # 3.1.3 with: name: DiscordChatExporter path: DiscordChatExporter.Gui/publish/ @@ -92,13 +92,13 @@ jobs: steps: - name: Download artifacts (CLI) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # 3.0.2 with: name: DiscordChatExporter.Cli path: DiscordChatExporter.Cli - name: Download artifacts (GUI) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # 3.0.2 with: name: DiscordChatExporter path: DiscordChatExporter.Gui @@ -139,7 +139,7 @@ jobs: steps: - name: Notify Discord - uses: tyrrrz/action-http-request@v1 + uses: tyrrrz/action-http-request@28a403e52ea0f292b85a1850aeab1b90abc54be0 # 1.0.0 with: url: ${{ secrets.DISCORD_WEBHOOK }} method: POST