diff --git a/.github/workflows/benchstat.yml b/.github/workflows/benchstat.yml index 5488a2cf..c67b2e1f 100644 --- a/.github/workflows/benchstat.yml +++ b/.github/workflows/benchstat.yml @@ -16,15 +16,15 @@ jobs: - 6379:6379 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: 1.16.x - name: Benchmark run: go test -run=^$ -bench=. -count=5 -timeout=60m ./... | tee -a new.txt - name: Upload Benchmark - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: bench-incoming path: new.txt @@ -38,17 +38,17 @@ jobs: - 6379:6379 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: master - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: 1.15.x - name: Benchmark run: go test -run=^$ -bench=. -count=5 -timeout=60m ./... | tee -a old.txt - name: Upload Benchmark - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: bench-current path: old.txt @@ -58,25 +58,25 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: 1.15.x - name: Install benchstat run: go get -u golang.org/x/perf/cmd/benchstat - name: Download Incoming - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: bench-incoming - name: Download Current - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: bench-current - name: Benchstat Results run: benchstat old.txt new.txt | tee -a benchstat.txt - name: Upload benchstat results - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: benchstat path: benchstat.txt diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 77067d1d..3556cca1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,10 +15,10 @@ jobs: ports: - 6379:6379 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ matrix.go-version }} @@ -52,10 +52,10 @@ jobs: ports: - 6379:6379 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ matrix.go-version }} @@ -64,4 +64,3 @@ jobs: - name: Test tools module run: cd tools && go test -race -v ./... && cd .. -