Skip to content

Commit

Permalink
all: fix snap build
Browse files Browse the repository at this point in the history
  • Loading branch information
schzhn committed Oct 14, 2024
1 parent 73ff401 commit 97d186d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
'fail-fast': false
'matrix':
'os':
- 'ubuntu-latest'
# TODO(s.chzhen): Use latest.
- 'ubuntu-22.04'
- 'macOS-latest'
- 'windows-latest'
'steps':
Expand Down Expand Up @@ -58,13 +59,13 @@
'run': 'make VERBOSE=1 deps test go-bench go-fuzz'
- 'name': 'Upload coverage'
'uses': 'codecov/codecov-action@v1'
'if': "success() && matrix.os == 'ubuntu-latest'"
'if': "success() && matrix.os == 'ubuntu-22.04'"
'with':
'token': '${{ secrets.CODECOV_TOKEN }}'
'file': './coverage.txt'

'build-release':
'runs-on': 'ubuntu-latest'
'runs-on': 'ubuntu-22.04'
'needs': 'test'
'steps':
- 'name': 'Checkout'
Expand Down Expand Up @@ -123,7 +124,7 @@
github.event.pull_request.head.repo.full_name == github.repository
)
}}
'runs-on': 'ubuntu-latest'
'runs-on': 'ubuntu-22.04'
'steps':
- 'name': 'Conclusion'
'uses': 'technote-space/workflow-conclusion-action@v1'
Expand Down

0 comments on commit 97d186d

Please sign in to comment.