You've already forked dyndns-client
							
							fix(ci): rename workflows; add golang ci lint
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 7s
				
			
		
			
				
	
				Lint Markdown files / Run markdown linter (push) Successful in 3s
				
			
		
			
				
	
				Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 38s
				
			
		
			
				
	
				Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 20s
				
			
		
			
				
	
				Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 1m9s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 7s
				
			Lint Markdown files / Run markdown linter (push) Successful in 3s
				
			Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 38s
				
			Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 20s
				
			Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 1m9s
				
			This commit is contained in:
		| @@ -1,4 +1,4 @@ | ||||
| name: Golang CI lint | ||||
| name: "Lint Golang files" | ||||
| 
 | ||||
| on: | ||||
|   pull_request: | ||||
| @@ -6,22 +6,24 @@ on: | ||||
|   push: | ||||
|     branches: [ '**' ] | ||||
|     tags-ignore: [ '**' ] | ||||
|   workflow_dispatch: {} | ||||
| 
 | ||||
| permissions: | ||||
|   contents: read | ||||
| 
 | ||||
| jobs: | ||||
|   golangci: | ||||
|     name: "Run golang CI linter" | ||||
|     runs-on: ${{ matrix.os }} | ||||
|     strategy: | ||||
|       matrix: | ||||
|         go: [ stable ] | ||||
|         os: [ ubuntu-latest-amd64, ubuntu-latest-arm64 ] | ||||
|     steps: | ||||
|     - uses: actions/checkout@v4.2.2 | ||||
|     - uses: actions/checkout@v4.3.0 | ||||
|     - uses: actions/setup-go@v5.5.0 | ||||
|       with: | ||||
|         go-version: ${{ matrix.go }} | ||||
|     - uses: golangci/golangci-lint-action@v8.0.0 | ||||
|       with: | ||||
|         version: v2.1 | ||||
|         version: v2.3.0 # renovate: datasource=github-releases depName=golangci/golangci-lint | ||||
| @@ -1,4 +1,4 @@ | ||||
| name: Golang Tests | ||||
| name: "Run Golang tests" | ||||
|  | ||||
| on: | ||||
|   pull_request: | ||||
| @@ -6,16 +6,34 @@ on: | ||||
|   push: | ||||
|     branches: [ '**' ] | ||||
|     tags-ignore: [ '**' ] | ||||
|   workflow_dispatch: {} | ||||
|  | ||||
| jobs: | ||||
|   unittest: | ||||
|   # integration-test: | ||||
|   #   name: "Run integration tests" | ||||
|   #   runs-on: ${{ matrix.os }} | ||||
|   #   strategy: | ||||
|   #     matrix: | ||||
|   #       go: [ stable ] | ||||
|   #       os: [ ubuntu-latest-amd64, ubuntu-latest-arm64 ] | ||||
|   #   steps: | ||||
|   #   - uses: actions/checkout@v4.3.0 | ||||
|   #   - uses: actions/setup-go@v5.5.0 | ||||
|   #     with: | ||||
|   #       go-version: ${{ matrix.go }} | ||||
|   #   - env: | ||||
|   #       GOPROXY: ${{ vars.GOPROXY }} | ||||
|   #     run: make test/integration | ||||
|  | ||||
|   unit-test: | ||||
|     name: "Run unit tests" | ||||
|     runs-on: ${{ matrix.os }} | ||||
|     strategy: | ||||
|       matrix: | ||||
|         go: [ stable ] | ||||
|         os: [ ubuntu-latest-amd64, ubuntu-latest-arm64 ] | ||||
|     steps: | ||||
|     - uses: actions/checkout@v4.2.2 | ||||
|     - uses: actions/checkout@v4.3.0 | ||||
|     - uses: actions/setup-go@v5.5.0 | ||||
|       with: | ||||
|         go-version: ${{ matrix.go }} | ||||
|   | ||||
| @@ -1,19 +1,19 @@ | ||||
| name: Markdown linter | ||||
| name: "Lint Markdown files" | ||||
|  | ||||
| on: | ||||
|   pull_request: | ||||
|     types: [ "opened", "reopened", "synchronize" ] | ||||
|   push: | ||||
|     branches: [ '**' ] | ||||
|     tags-ignore: [ '**' ] | ||||
|     branches: [ '*' ] | ||||
|     tags-ignore: [ '*' ] | ||||
|   workflow_dispatch: {} | ||||
|  | ||||
| jobs: | ||||
|   markdown-lint: | ||||
|     runs-on: | ||||
|     - ubuntu-latest | ||||
|     name: "Run markdown linter" | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|     - uses: actions/checkout@v4.2.2 | ||||
|     - uses: actions/checkout@v4.3.0 | ||||
|     - uses: DavidAnson/markdownlint-cli2-action@v20.0.0 | ||||
|       with: | ||||
|         globs: '**/*.md' | ||||
|         globs: '**/*.md' | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| name: Release | ||||
| name: "Release" | ||||
|  | ||||
| on: | ||||
|   push: | ||||
| @@ -9,15 +9,15 @@ permissions: | ||||
|  | ||||
| jobs: | ||||
|   release: | ||||
|     runs-on: | ||||
|     - ubuntu-latest | ||||
|     name: "Release application" | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|     - uses: actions/checkout@v4.2.2 | ||||
|     - uses: actions/checkout@v4.3.0 | ||||
|     - uses: docker/setup-qemu-action@v3.6.0 | ||||
|     - uses: actions/setup-go@v5.5.0 | ||||
|       with: | ||||
|         go-version: stable | ||||
|     - uses: docker/login-action@v3.4.0 | ||||
|     - uses: docker/login-action@v3.5.0 | ||||
|       with: | ||||
|         registry: git.cryptic.systems | ||||
|         username: ${{ github.repository_owner }} | ||||
| @@ -28,10 +28,11 @@ jobs: | ||||
|         GOPROXY: ${{ vars.GOPROXY }} | ||||
|       uses: goreleaser/goreleaser-action@v6.3.0 | ||||
|       with: | ||||
|         version: "~> v2" | ||||
|         version: v2.11.2 # renovate: datasource=github-releases depName=goreleaser/goreleaser | ||||
|         args: release --clean | ||||
|  | ||||
|   sync-to-hub-docker-io: | ||||
|     name: "Upload Images to docker.io" | ||||
|     needs: | ||||
|     - release | ||||
|     runs-on: ubuntu-latest | ||||
|   | ||||
		Reference in New Issue
	
	Block a user