Skip to content

chore(deps): bump golang:1.25 from 6ea52a0 to 1.25 (#130) #175

chore(deps): bump golang:1.25 from 6ea52a0 to 1.25 (#130)

chore(deps): bump golang:1.25 from 6ea52a0 to 1.25 (#130) #175

Workflow file for this run

name: CI
on: # yamllint disable-line rule:truthy
pull_request:
branches:
- main
push:
branches:
- main
- next
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version-file: go.mod
- uses: jdx/mise-action@e3d7b8d67a7958d1207f6ed871e83b1ea780e7b0 # v3.3.1
- run: make clean
- run: make generate
- run: make check
- name: check for changes
run: |
if [[ -n $(git status --porcelain) ]]; then
git status
git diff
echo "Files have changed, failing CI"
exit 1
fi
- run: make build
- run: make test
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: builds
path: |
dist/*.tar.gz
dist/metadata.json
dist/config.yaml
dist/artifacts.json
dist/*_checksums.txt
retention-days: 5