Skip to content

Commit

Permalink
chore: remove unused file (#56)
Browse files Browse the repository at this point in the history
* chore:release

* chore: remove release

* chore: clea go cache

* chore: pull latest

* chore: change checkout

* chore: drop support for go.19

* chore: drop everything

* chore: try 1.21

* chore: try 1.20

* chore: only support 1.21+
  • Loading branch information
bxcodec authored Jun 9, 2024
1 parent 8428f33 commit 9e219dc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 88 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/go_cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
build:
strategy:
matrix:
go-version: ["1.19.x", "1.20.x", "1.21.x", "1.22.x"]
go-version: ["1.21.x", "1.22.x"]
arch: [x64, arm, arm64]
os: [macos-latest, ubuntu-latest] #windows-latest

Expand All @@ -38,22 +38,28 @@ jobs:
GOCACHE: ${{matrix.gocache}}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Fetch latest changes
run: git fetch --all
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
check-latest: true

# - name: Cache Go tests
# uses: actions/cache@v3
# with:
# path: |
# ${{env.GOCACHE}}
# key: ${{ github.workflow }}-${{ runner.os }}-${{ matrix.arch }}-go-${{matrix.go-version}}-${{ hashFiles('**/go.mod','*_test.go') }}
# restore-keys: |
# ${{ github.workflow }}-${{ runner.os }}-${{ matrix.arch }}-go-${{matrix.go-version}}-${{ hashFiles('**/go.mod','*_test.go') }}
# - name: Clear Go cache
# run: go clean -cache
- name: Cache Go tests
uses: actions/cache@v3
with:
path: |
${{env.GOCACHE}}
key: ${{ github.workflow }}-${{ runner.os }}-${{ matrix.arch }}-go-${{matrix.go-version}}-${{ hashFiles('**/go.mod','*_test.go') }}
restore-keys: |
${{ github.workflow }}-${{ runner.os }}-${{ matrix.arch }}-go-${{matrix.go-version}}-${{ hashFiles('**/go.mod','*_test.go') }}
- name: Linter
continue-on-error: true
Expand Down
68 changes: 0 additions & 68 deletions scripts/release.sh

This file was deleted.

10 changes: 0 additions & 10 deletions version.go

This file was deleted.

0 comments on commit 9e219dc

Please sign in to comment.