feat: add max gas price to action context #1089
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
# This workflow checks if the build (compilation) succeeds without any errors. | |
# Although the build is done in CircleCI as well, to speed up the build time | |
# some checks are turned off in CircleCI. To conduct the complete checks | |
# there should be this separated workflow. | |
# See also the below issues: | |
# - https://github.com/planetarium/libplanet/pull/979 | |
# - https://github.com/planetarium/libplanet/pull/977 | |
# - https://github.com/planetarium/libplanet/issues/976 | |
on: | |
push: null | |
pull_request: null | |
name: check-build | |
jobs: | |
build: | |
name: check-build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
if: github.event_name != 'pull_request' | |
- uses: actions/checkout@main | |
if: github.event_name == 'pull_request' | |
with: | |
ref: ${{ github.pull_request.head.sha }} | |
- uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
- run: 'hooks/pre-commit' | |
- run: 'dotnet build -p:SkipSonar=false' |