This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
refactor: update module name #719
Workflow file for this run
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 | |
on: | |
pull_request: | |
branches-ignore: | |
- dependabot/** | |
jobs: | |
checks: | |
name: Pull Request Checks | |
runs-on: ubuntu-latest | |
if: contains(github.event.head_commit.message, '[ci skip]') == false && contains(github.event.head_commit.message, '[skip ci]') == false | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.18 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- name: Check out code | |
uses: actions/checkout@v3 | |
# - name: Run tests | |
# run: make test | |
- name: Run GolangCI-Lint | |
uses: golangci/[email protected] | |
with: | |
version: latest | |
args: --tests=0 --timeout=30m | |
- name: Run Semgrep | |
run: | | |
python3 -m pip install semgrep | |
semgrep scan --config auto --dryrun -q --include "**.go" | |
- name: Cross-platform checks | |
uses: goreleaser/goreleaser-action@v3 | |
with: | |
version: latest | |
args: build --skip-validate --rm-dist --snapshot --timeout=30m | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: go | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |