From 8b2f597a33096e91a67ba34003ac5af8583d46d8 Mon Sep 17 00:00:00 2001 From: Danilo Pantani Date: Wed, 13 Nov 2024 16:25:49 -0300 Subject: [PATCH] uppdate github workflows --- .github/CODEOWNERS | 9 +++++++++ .github/workflows/release-docker.yml | 4 ++-- .github/workflows/release.yml | 8 ++++---- .github/workflows/semantic-pull-request.yml | 2 +- .github/workflows/test.yml | 8 ++++---- 5 files changed, 20 insertions(+), 11 deletions(-) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..cf65d62 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,9 @@ +# CODEOWNERS: https://help.github.com/articles/about-codeowners/ + +# Primary repo maintainers +* @ilgooz @jeronimoalbi @Pantani @julienrbrt + +# Docs +*.md @salmad3 @toschdev @ilgooz +docs/* @salmad3 @toschdev @ilgooz +changelog.md @ilgooz @salmad3 @toschdev @jeronimoalbi @Pantani @julienrbrt diff --git a/.github/workflows/release-docker.yml b/.github/workflows/release-docker.yml index 1710d4e..1b809ee 100644 --- a/.github/workflows/release-docker.yml +++ b/.github/workflows/release-docker.yml @@ -13,7 +13,7 @@ jobs: uses: docker/setup-buildx-action@v1 - name: Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -25,7 +25,7 @@ jobs: - name: Build and push id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: push: true platforms: linux/amd64,linux/arm64 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3e1c657..effba6b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,19 +10,19 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: - go-version: 1.16 + go-version: 'latest' - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: - version: latest + version: 'latest' args: release --rm-dist env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/semantic-pull-request.yml b/.github/workflows/semantic-pull-request.yml index 77a6bc8..fcaf91b 100644 --- a/.github/workflows/semantic-pull-request.yml +++ b/.github/workflows/semantic-pull-request.yml @@ -9,6 +9,6 @@ jobs: main: runs-on: ubuntu-latest steps: - - uses: amannn/action-semantic-pull-request@v1.2.0 + - uses: amannn/action-semantic-pull-request@v5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0166ac5..513f7b3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,13 +1,13 @@ name: Test -on: [push] +on: [ push ] jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: - go-version: 1.16 + go-version: 'latest' - run: make test \ No newline at end of file