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 97d186d commit ed26f49
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
'fail-fast': false
'matrix':
'os':
# TODO(s.chzhen): Use latest.
- 'ubuntu-22.04'
- 'ubuntu-latest'
- 'macOS-latest'
- 'windows-latest'
'steps':
Expand Down Expand Up @@ -59,13 +58,13 @@
'run': 'make VERBOSE=1 deps test go-bench go-fuzz'
- 'name': 'Upload coverage'
'uses': 'codecov/codecov-action@v1'
'if': "success() && matrix.os == 'ubuntu-22.04'"
'if': "success() && matrix.os == 'ubuntu-latest'"
'with':
'token': '${{ secrets.CODECOV_TOKEN }}'
'file': './coverage.txt'

'build-release':
'runs-on': 'ubuntu-22.04'
'runs-on': 'ubuntu-latest'
'needs': 'test'
'steps':
- 'name': 'Checkout'
Expand Down Expand Up @@ -96,7 +95,7 @@
'key': "${{ runner.os }}-node-${{ hashFiles('client/package-lock.json') }}"
'restore-keys': '${{ runner.os }}-node-'
- 'name': 'Set up Snapcraft'
'run': 'sudo apt-get -yq --no-install-suggests --no-install-recommends install snapcraft'
'run': 'sudo snap install snapcraft --clasic'
- 'name': 'Set up QEMU'
'uses': 'docker/setup-qemu-action@v1'
- 'name': 'Set up Docker Buildx'
Expand Down Expand Up @@ -124,7 +123,7 @@
github.event.pull_request.head.repo.full_name == github.repository
)
}}
'runs-on': 'ubuntu-22.04'
'runs-on': 'ubuntu-latest'
'steps':
- 'name': 'Conclusion'
'uses': 'technote-space/workflow-conclusion-action@v1'
Expand Down

0 comments on commit ed26f49

Please sign in to comment.