Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Mar 25, 2023
1 parent ed68d94 commit c7ebf1d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/bench_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/bench_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
id: go

- name: Check out code
uses: actions/checkout@v1
uses: actions/checkout@v3

- name: Get dependencies
run: |
Expand Down

0 comments on commit c7ebf1d

Please sign in to comment.