feat: add DRY_RUN config option #29
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
name: pull-request-main | |
on: | |
merge_group: | |
pull_request: | |
branches: | |
- main | |
- develop # TODO - Remove when develop branch is replaced by main | |
jobs: | |
ci-lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
actions: read | |
steps: | |
- name: Linting Go | |
uses: smartcontractkit/.github/actions/ci-lint-go@7a4d99cb349ea8f25195d2390d157942031f8a57 | |
with: | |
golangci-lint-version: v1.62.0 | |
ci-lint-misc: | |
name: Lint Misc | |
runs-on: ubuntu-latest | |
steps: | |
- name: Linting Go Misc | |
uses: smartcontractkit/.github/actions/ci-lint-misc@7a4d99cb349ea8f25195d2390d157942031f8a57 | |
ci-test: | |
name: Tests | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
actions: read | |
env: | |
TEST_NODE_URL: '${{ secrets.TEST_NODE_URL }}' | |
TEST_TIMELOCK_ADDRESS: '${{ secrets.TEST_TIMELOCK_ADDRESS }}' | |
TEST_PROXY_ADDRESS: '${{ secrets.TEST_PROXY_ADDRESS }}' | |
TEST_PRIVATE_KEY: '${{ secrets.TEST_PRIVATE_KEY }}' | |
steps: | |
- name: Build and test | |
uses: smartcontractkit/.github/actions/ci-test-go@7a4d99cb349ea8f25195d2390d157942031f8a57 | |
with: | |
go-test-cmd: go test -short -coverprofile=coverage.out -covermode=atomic -race ./... | |
use-go-cache: true |