update deps #249
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: Build DevNEwsBot CLI Image | |
on: | |
push: | |
branches: | |
- master | |
- 'release/**' | |
tags: | |
- v1 | |
- v1.* | |
env: | |
# Use docker.io for Docker Hub if empty | |
REGISTRY: ghcr.io | |
# github.repository as <account>/<repo> | |
IMAGE_NAME: ${{ github.repository }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.23' | |
- name: BuildAndTest | |
run: make buildandtest | |
- name: Go Vet | |
run: make vet | |
- uses: dominikh/staticcheck-action@v1.3.0 | |
name: staticcheck | |
with: | |
version: "latest" | |
install-go: false |