From c7ebf1db0463559fc354316ca59238fee2260fc5 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sat, 10 Dec 2022 12:24:56 +0100 Subject: [PATCH] Update GitHub Actions --- .github/workflows/bench_pr.yml | 5 ++--- .github/workflows/bench_push.yml | 4 ++-- .github/workflows/go.yml | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/bench_pr.yml b/.github/workflows/bench_pr.yml index aba88316..dee05460 100644 --- a/.github/workflows/bench_pr.yml +++ b/.github/workflows/bench_pr.yml @@ -8,13 +8,13 @@ jobs: GOBIN: /home/runner/go steps: - name: Set up Go 1.18 - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: 1.18 id: go - name: Check out code - uses: actions/checkout@v1 + uses: actions/checkout@v3 - name: Get dependencies run: | @@ -32,4 +32,3 @@ jobs: git log -1 --format="%H" go test -bench=. -benchmem -benchtime=10x -count=7 > $HOME/old.txt $GOBIN/benchstat $HOME/old.txt $HOME/new.txt - diff --git a/.github/workflows/bench_push.yml b/.github/workflows/bench_push.yml index b41ba35a..36abe103 100644 --- a/.github/workflows/bench_push.yml +++ b/.github/workflows/bench_push.yml @@ -8,13 +8,13 @@ jobs: GOBIN: /home/runner/go steps: - name: Set up Go 1.18 - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: 1.18 id: go - name: Check out code - uses: actions/checkout@v1 + uses: actions/checkout@v3 - name: Get dependencies run: | diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 73512be3..074dd355 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,7 +14,7 @@ jobs: id: go - name: Check out code - uses: actions/checkout@v1 + uses: actions/checkout@v3 - name: Get dependencies run: |