From f56988abeb756c267d406906f9aa1dfc6271aec2 Mon Sep 17 00:00:00 2001 From: lukasIO Date: Fri, 13 Dec 2024 15:01:54 +0100 Subject: [PATCH] Update GH actions version --- .github/workflows/build.yaml | 8 ++++---- .github/workflows/docker.yaml | 8 ++++---- .github/workflows/test.yaml | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index cc8648a..922508a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -16,19 +16,19 @@ name: Build on: workflow_dispatch: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: integration: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: lfs: true - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: | ~/go/pkg/mod diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index e491ecf..227c0ac 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -20,15 +20,15 @@ on: push: # only publish on version tags tags: - - 'v*.*.*' + - "v*.*.*" jobs: docker: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: | ~/go/pkg/mod @@ -49,7 +49,7 @@ jobs: type=semver,pattern=v{{major}}.{{minor}} - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: "1.22" diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 84d10e6..6bc9411 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -27,7 +27,7 @@ jobs: runs-on: buildjet-8vcpu-ubuntu-2204 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Opus dependencies run: sudo apt-get update && sudo apt-get install -y libopus-dev libopusfile-dev libsoxr-dev @@ -63,7 +63,7 @@ jobs: go test -coverpkg=./... -json -v -coverprofile=coverage2.out -covermode=atomic ./test/integration/... 2>&1 | tee -a /tmp/gotest.log | gotestfmt - name: Upload test log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: test-log