(NOBIDS) ci: add way to publish docker images outside of releases (#2… #3241
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: Static Check | |
on: | |
push: | |
branches: | |
- master | |
- staging | |
pull_request: | |
branches: | |
- staging | |
- master | |
jobs: | |
ci: | |
name: "Run CI" | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest"] | |
go: ["1.20.x"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
fetch-depth: 1 | |
- uses: WillAbides/[email protected] | |
with: | |
go-version: ${{ matrix.go }} | |
- run: make all | |
- run: "go test ./..." | |
- run: "go vet ./..." | |
- uses: dominikh/[email protected] | |
with: | |
version: "2023.1.5" | |
install-go: false | |
cache-key: ${{ matrix.go }} |