Daily Archives: 11.08.2021

Set github actions for you repo

If you want to run tests/linters against you golang project, place something like the example below in .github/workflows/somename.yml to your project: name: ci-cd on: push: branches: — ‘**’ env: GONOSUMDB: «github.com/» GOPRIVATE: «github.com/» jobs: ci-cd: strategy: matrix: go-version: [ 1.16.x ] runs-on: ubuntu-latest steps: — name: Install Go uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} …

Read more