don't trigger any update if ng ami is the same like the last one aws ami #266
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: Validate | |
on: | |
workflow_dispatch: | |
push: | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: stable # https://golang.org/dl/ | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Hadolint | |
uses: hadolint/[email protected] | |
with: | |
ignore: DL3029 # build amd64 image | |
- name: Go Mod Tidy | |
run: test -z $(go mod tidy) | |
- name: Lint | |
uses: golangci/[email protected] | |
- name: Test | |
run: make test |