Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
sudo apt update
sudo apt install scdoc
- name: Set up latest stable Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: stable
- name: Checkout repo
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-tags: 1
fetch-depth: 0
Expand All @@ -44,11 +44,11 @@ jobs:
sudo apt update
sudo apt install -y make git
- name: Set up latest stable Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: stable
- name: Checkout repo
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-tags: 1
fetch-depth: 0
Expand All @@ -63,11 +63,11 @@ jobs:
sudo apt update
sudo apt install -y make git scdoc
- name: Set up latest stable Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: stable
- name: Checkout repo
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-tags: 1
fetch-depth: 0
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run golangci-lint
name: Lint
on:
push:
branches:
Expand All @@ -12,14 +12,14 @@ permissions:

jobs:
golangci:
name: lint
name: Run golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
uses: golangci/golangci-lint-action@v9
with:
version: v2.1
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
sudo apt update
sudo apt install scdoc
- name: Set up latest stable Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: stable
- name: Registry login
Expand All @@ -27,7 +27,7 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repo
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-tags: 1
fetch-depth: 0
Expand Down Expand Up @@ -64,27 +64,27 @@ jobs:
with:
subject-path: '${{ github.workspace }}/dist/ochami_linux_amd64_v1/ochami'
- name: Attest ochami binary linux_arm64
uses: actions/attest-build-provenance@v1
uses: actions/attest-build-provenance@v3
with:
subject-path: '${{ github.workspace }}/dist/ochami_linux_arm64_v8.0/ochami'
- name: Attest ochami binary darwin_amd64
uses: actions/attest-build-provenance@v1
uses: actions/attest-build-provenance@v3
with:
subject-path: '${{ github.workspace }}/dist/ochami_darwin_amd64_v1/ochami'
- name: Attest ochami binary darwin_arm64
uses: actions/attest-build-provenance@v1
uses: actions/attest-build-provenance@v3
with:
subject-path: '${{ github.workspace }}/dist/ochami_darwin_arm64_v8.0/ochami'
- name: Attest ochami binary windows_amd64
uses: actions/attest-build-provenance@v1
uses: actions/attest-build-provenance@v3
with:
subject-path: '${{ github.workspace }}/dist/ochami_windows_amd64_v1/ochami.exe'
- name: Attest ochami binary windows_arm64
uses: actions/attest-build-provenance@v1
uses: actions/attest-build-provenance@v3
with:
subject-path: '${{ github.workspace }}/dist/ochami_windows_arm64_v8.0/ochami.exe'
- name: Attest ochami docker container
uses: actions/attest-build-provenance@v1
uses: actions/attest-build-provenance@v3
with:
subject-name: ghcr.io/openchami/ochami
subject-digest: ${{ steps.process_goreleaser_output.outputs.digest }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run unit tests
name: Test

permissions:
contents: read
Expand All @@ -14,11 +14,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up latest stable Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: stable
- name: Checkout repo
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-tags: 1
fetch-depth: 0
Expand Down
Loading