From 9687e1788ca8e9dc00523b401637c2eb5d550c31 Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Sun, 16 Jun 2024 11:45:32 +0200 Subject: [PATCH] .github/workflows: update GitHub Actions --- .github/workflows/build.yml | 2 +- .github/workflows/ronn.yml | 4 ++-- .github/workflows/test.yml | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7c235564..5bb6a880 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: with: go-version: 1.x - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Build binary diff --git a/.github/workflows/ronn.yml b/.github/workflows/ronn.yml index 504a77b6..2900bb56 100644 --- a/.github/workflows/ronn.yml +++ b/.github/workflows/ronn.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install ronn run: sudo apt-get update && sudo apt-get install -y ronn - name: Run ronn @@ -43,7 +43,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Download generated files uses: actions/download-artifact@v2 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ddbe4a04..896fc039 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,11 +13,11 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Install Go ${{ matrix.go }} - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Run tests @@ -31,7 +31,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Install bootstrap Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 - name: Install Go tip (UNIX) if: runner.os != 'Windows' run: | @@ -45,7 +45,7 @@ jobs: cd $HOME/gotip/src && ./make.bat echo "$HOME/gotip/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - run: go version