From 7389336ff3e9ee7195d0f890622fdb18950c582e Mon Sep 17 00:00:00 2001 From: ichirin2501 Date: Mon, 8 Jan 2024 20:30:57 +0900 Subject: [PATCH] update go version 1.20 --- .github/workflows/scheduled-test.yml | 3 +-- .github/workflows/test.yml | 3 +-- Dockerfile.test | 2 +- README.md | 8 ++++---- go.mod | 2 +- 5 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/scheduled-test.yml b/.github/workflows/scheduled-test.yml index 83c075a..0abd9fb 100644 --- a/.github/workflows/scheduled-test.yml +++ b/.github/workflows/scheduled-test.yml @@ -8,14 +8,13 @@ jobs: scheduled-test: strategy: matrix: - go-version: [1.18.x, 1.19.x, 1.20.x] platform: [ubuntu-latest] runs-on: ${{ matrix.platform }} steps: - name: Install Go uses: actions/setup-go@v4 with: - go-version: '${{ matrix.go-version }}' + go-version-file: go.mod - name: Checkout code uses: actions/checkout@v4 - name: Test diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6faad54..ffe1da3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,14 +4,13 @@ jobs: test: strategy: matrix: - go-version: [1.18.x, 1.19.x, 1.20.x] platform: [ubuntu-latest] runs-on: ${{ matrix.platform }} steps: - name: Install Go uses: actions/setup-go@v4 with: - go-version: '${{ matrix.go-version }}' + go-version-file: go.mod - name: Checkout code uses: actions/checkout@v4 - name: Test diff --git a/Dockerfile.test b/Dockerfile.test index 29b016c..44cb09d 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -1,4 +1,4 @@ -FROM golang:1.18-buster +FROM golang:1.20-buster RUN apt-get update && \ apt-get install -y --no-install-recommends --no-install-suggests \ diff --git a/README.md b/README.md index 1b3e9db..fdcfea7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # rgnes -[![Build Status](https://github.com/ichirin2501/rgnes/workflows/Test/badge.svg?branch=master)](https://github.com/ichirin2501/rgnes/actions) +[![Scheduled-test](https://github.com/ichirin2501/rgnes/actions/workflows/scheduled-test.yml/badge.svg)](https://github.com/ichirin2501/rgnes/actions/workflows/scheduled-test.yml) [![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE) This NES emulator is implemented for my study @@ -12,9 +12,9 @@ It's great because it's written so simple. ## TODOs -- refactoring -- apu emulation - - (I'm not interested in sound so I probably won't implement it...) +- Refactoring +- Many bug fixes +- Support for many mappers .. and tons more diff --git a/go.mod b/go.mod index 9a96f2d..8d045cb 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ichirin2501/rgnes -go 1.18 +go 1.20 require ( fyne.io/fyne/v2 v2.1.4