Skip to content

chore(deps): bump github.com/pb33f/libopenapi from 0.36.2 to 0.36.3 #370

chore(deps): bump github.com/pb33f/libopenapi from 0.36.2 to 0.36.3

chore(deps): bump github.com/pb33f/libopenapi from 0.36.2 to 0.36.3 #370

Workflow file for this run

name: Go CI/CD
on: push
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Setup Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c
with:
go-version-file: "go.mod"
- name: Run golangci-lint
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20
with:
version: v2.11.4
args: --timeout=5m
test:
name: Test
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Setup Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c
with:
go-version-file: "go.mod"
- name: Run tests
run: go test -coverprofile coverage.out ./...
build-and-push:
name: Build & Push Docker Image
runs-on: ubuntu-latest
needs: test
permissions:
packages: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Login to GitHub Container Registry
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build & Push Docker image
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f
with:
context: .
push: true
tags: |
ghcr.io/developer-overheid-nl/don-api-register:latest
ghcr.io/developer-overheid-nl/don-api-register:${{ github.sha }}